users/infinidoge: include graphic apps on condition
This commit is contained in:
parent
facad7fe9c
commit
36beb3e606
2 changed files with 17 additions and 13 deletions
|
@ -231,7 +231,6 @@
|
||||||
direnv
|
direnv
|
||||||
git
|
git
|
||||||
emacs
|
emacs
|
||||||
kitty
|
|
||||||
vim
|
vim
|
||||||
gpg
|
gpg
|
||||||
|
|
||||||
|
@ -240,6 +239,12 @@
|
||||||
shells.all
|
shells.all
|
||||||
tmux
|
tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
|
graphic = [
|
||||||
|
kitty
|
||||||
|
rofi
|
||||||
|
themeing
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users = {
|
users = {
|
||||||
|
|
|
@ -5,19 +5,18 @@
|
||||||
(with profiles; [ virtualization ])
|
(with profiles; [ virtualization ])
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.infinidoge = { config, suites, profiles, ... }: {
|
home-manager.users.infinidoge = { config, main, suites, profiles, ... }: {
|
||||||
imports = lib.lists.flatten [
|
imports = lib.lists.flatten ([
|
||||||
(with suites; [ base ])
|
(with suites; [
|
||||||
|
base
|
||||||
|
])
|
||||||
(with profiles; [
|
(with profiles; [
|
||||||
pass
|
pass
|
||||||
discord
|
|
||||||
gaming
|
|
||||||
|
|
||||||
themeing
|
|
||||||
|
|
||||||
rofi
|
|
||||||
])
|
])
|
||||||
];
|
] ++ (if main.services.xserver.enable then [
|
||||||
|
(with suites; [ graphic ])
|
||||||
|
(with profiles; [ discord gaming ])
|
||||||
|
] else [ ]));
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
userEmail = "infinidoge@doge-inc.net";
|
userEmail = "infinidoge@doge-inc.net";
|
||||||
|
@ -41,7 +40,7 @@
|
||||||
"blugon".source = ./config/blugon;
|
"blugon".source = ./config/blugon;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = lib.mkIf main.services.xserver.enable (with pkgs; [
|
||||||
hydrus
|
hydrus
|
||||||
|
|
||||||
speedcrunch
|
speedcrunch
|
||||||
|
@ -52,7 +51,7 @@
|
||||||
gnome.gnome-screenshot
|
gnome.gnome-screenshot
|
||||||
|
|
||||||
sxiv
|
sxiv
|
||||||
];
|
]);
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue