Simplify some vars and such

This commit is contained in:
Vice 2025-03-05 02:17:33 -05:00
parent 96c74234c0
commit eb34493b18
9 changed files with 7 additions and 22 deletions

View file

@ -2,15 +2,6 @@
{ {
programs.looking-glass-client = { programs.looking-glass-client = {
enable = if config.home.desktop.enable && config.nixpkgs.system == "x86_64-linux" then true else false; enable = if config.home.desktop.enable && config.nixpkgs.system == "x86_64-linux" then true else false;
settings = { settings.input.rawMouse = true;
input = {
rawMouse = true;
escapeKey = 62;
};
spice = {
enable = true;
audio = true;
};
};
}; };
} }

View file

@ -5,5 +5,6 @@
ffmpegthumbnailer ffmpegthumbnailer
puddletag puddletag
pulsemixer pulsemixer
spotdl
]; ];
} }

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
home.packages = with pkgs; lib.mkIf config.home.desktop.enable [ home.packages = with pkgs; lib.mkIf config.home.desktop.enable [
bc
libreoffice libreoffice
vesktop vesktop
]; ];

View file

@ -1,6 +1,7 @@
{ lib, pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
bc
dua dua
p7zip p7zip
vimv vimv

View file

@ -10,7 +10,6 @@
./nh ./nh
./nix-index ./nix-index
./ranger ./ranger
./spotdl
./tmux ./tmux
./yt-dlp ./yt-dlp
./zsh ./zsh

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { config, pkgs, ... }:
{ {
programs.ranger = { programs.ranger = {
enable = true; enable = true;

View file

@ -1,7 +0,0 @@
{ config, lib, pkgs, ... }:
{
home = lib.mkIf config.home.desktop.enable {
packages = with pkgs; [ spotdl ];
shellAliases.spotdl = "spotdl --m3u --format opus";
};
}

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, ... }:
{ {
services.mpd = { services.mpd = {
enable = config.home.desktop.enable; enable = config.home.desktop.enable;

View file

@ -14,6 +14,7 @@
ff = "clear && fastfetch"; ff = "clear && fastfetch";
ip = "ip -c"; ip = "ip -c";
cat = "${pkgs.bat}/bin/bat --paging never"; cat = "${pkgs.bat}/bin/bat --paging never";
spotdl = "spotdl --m3u --format opus";
copycat = "wl-copy <"; copycat = "wl-copy <";
myip = "curl ifconfig.co"; myip = "curl ifconfig.co";
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca"; seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";