Skip to content

Commit

Permalink
Move most packages to user-level
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Mar 7, 2024
1 parent 2e00c64 commit 64ed797
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 102 deletions.
28 changes: 27 additions & 1 deletion home-modules/common.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{pkgs, ...}: {
home.stateVersion = "23.11";
programs.home-manager.enable = true;
dconf.enable = true;
Expand All @@ -9,4 +9,30 @@
easyeffects.enable = true;
udiskie.enable = true;
};

home.packages = with pkgs; [
# development
python3
rustup
lua
nodejs
actionlint
gitmoji-cli
pre-commit

# gui apps
spotify
darktable
slack
pavucontrol
pcmanfm
obsidian
gimp
chromium
prusa-slicer

# cli apps
ffmpeg-full
glow # render markdown on the cli
];
}
62 changes: 0 additions & 62 deletions hosts/x1/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,66 +43,4 @@

tailscale.enable = true;
};

environment.systemPackages = lib.flatten [
(
with pkgs; [
# languages and dev tools
(python3.withPackages (ps:
with ps; [
requests
]))
pipenv
rustup
lua
nodejs
statix
(haskellPackages.ghcWithPackages (hpkgs:
with hpkgs; [
xmobar
xmonad
xmonad-contrib
]))

# apps
spotify
darktable
slack
pavucontrol
pcmanfm
obsidian
dwmblocks
gimp
firefox
chromium
keyd

# cli tools
ffmpeg-full
acpi
fastfetch
wget
mons
file
bottom
xdotool
playerctl
pulseaudio
alsa-utils
pre-commit
wirelesstools
jq # json parser
fd # faster find
dig
rsync
glow # render markdown on the cli
xclip
pciutils
usbutils

# libs
libnotify
]
)
];
}
40 changes: 1 addition & 39 deletions hosts/zeus/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@
"work".enable = true;
};
};
};

services.transmission = {
enable = true;
settings = {
ratio-limit = 0;
ratio-limit-enabled = true;
};
};
};

services.xserver = {
videoDrivers = ["amdgpu"];
Expand All @@ -69,34 +61,4 @@
}
];
};

environment.systemPackages = lib.flatten [
(
with pkgs; [
# development
python3
rustup
lua
nodejs
statix
actionlint
gitmoji-cli

# gui apps
spotify
darktable
slack
pavucontrol
pcmanfm
obsidian
gimp
chromium
prusa-slicer

# cli apps
ffmpeg-full
glow # render markdown on the cli
]
)
];
}
2 changes: 2 additions & 0 deletions modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,7 @@
xclip
pciutils
usbutils
wirelesstools
acpi
];
}
1 change: 1 addition & 0 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
ssh-access = import ./ssh-access.nix;
syncthing = import ./syncthing.nix;
trackpoint = import ./trackpoint.nix;
transmission = import ./transmission.nix;
work-vpn = import ./work-vpn.nix;
}
9 changes: 9 additions & 0 deletions modules/transmission.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
services.transmission = {
enable = true;
settings = {
ratio-limit = 0;
ratio-limit-enabled = true;
};
};
}

0 comments on commit 64ed797

Please sign in to comment.