split home.packages into module
This commit is contained in:
parent
b1cc1822e1
commit
c8a32a3c35
2 changed files with 33 additions and 30 deletions
32
modules/user/packages-rin.nix
Normal file
32
modules/user/packages-rin.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{ config, enableGUI, pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
ffmpeg
|
||||||
|
gnupg
|
||||||
|
neofetch
|
||||||
|
nodejs-16_x
|
||||||
|
pamixer
|
||||||
|
rnix-lsp
|
||||||
|
transcrypt
|
||||||
|
unrar
|
||||||
|
wine-osu
|
||||||
|
(winetricks.override { wine = wine-osu; })
|
||||||
|
youtube-dl
|
||||||
|
|
||||||
|
nodePackages_latest.pnpm
|
||||||
|
] ++ lib.optionals enableGUI [
|
||||||
|
brave
|
||||||
|
discord-canary
|
||||||
|
element-desktop
|
||||||
|
feh
|
||||||
|
gnome.file-roller
|
||||||
|
gimp
|
||||||
|
kotatogram-desktop
|
||||||
|
lxappearance
|
||||||
|
maim
|
||||||
|
pavucontrol
|
||||||
|
tor-browser-bundle-bin
|
||||||
|
transmission-remote-gtk
|
||||||
|
xclip
|
||||||
|
xorg.xgamma
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -10,39 +10,10 @@
|
||||||
username = "rin";
|
username = "rin";
|
||||||
homeDirectory = "/home/rin";
|
homeDirectory = "/home/rin";
|
||||||
stateVersion = "21.05";
|
stateVersion = "21.05";
|
||||||
packages = with pkgs; [
|
|
||||||
ffmpeg
|
|
||||||
gnupg
|
|
||||||
neofetch
|
|
||||||
nodejs-16_x
|
|
||||||
pamixer
|
|
||||||
rnix-lsp
|
|
||||||
transcrypt
|
|
||||||
unrar
|
|
||||||
wine-osu
|
|
||||||
(winetricks.override { wine = wine-osu; })
|
|
||||||
youtube-dl
|
|
||||||
|
|
||||||
nodePackages_latest.pnpm
|
|
||||||
] ++ lib.optionals enableGUI [
|
|
||||||
brave
|
|
||||||
discord-canary
|
|
||||||
element-desktop
|
|
||||||
feh
|
|
||||||
gnome.file-roller
|
|
||||||
gimp
|
|
||||||
kotatogram-desktop
|
|
||||||
lxappearance
|
|
||||||
maim
|
|
||||||
pavucontrol
|
|
||||||
tor-browser-bundle-bin
|
|
||||||
transmission-remote-gtk
|
|
||||||
xclip
|
|
||||||
xorg.xgamma
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = with modules.user; [
|
imports = with modules.user; [
|
||||||
|
packages-rin
|
||||||
sessionVariables
|
sessionVariables
|
||||||
|
|
||||||
direnv
|
direnv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue