Move steam to desktop module

This commit is contained in:
Erwin Boskma 2022-10-10 18:35:14 +02:00
parent bba9b05777
commit 1cbc923e74
Signed by: erwin
GPG key ID: 270B20D17394F7E5
3 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@ in
users = { users = {
erwin = { erwin = {
enable = true; enable = true;
home-manager = true; desktop = true;
}; };
builder.enable = true; builder.enable = true;
}; };

View file

@ -28,8 +28,6 @@ in
seahorse.enable = true; seahorse.enable = true;
steam.enable = true;
sway = { sway = {
enable = true; enable = true;
wrapperFeatures = { wrapperFeatures = {

View file

@ -11,7 +11,7 @@ with lib; let
in in
{ {
options.eboskma.users.erwin = { options.eboskma.users.erwin = {
home-manager = mkEnableOption "home-manager"; desktop = mkEnableOption "desktop";
terminal = mkOption { terminal = mkOption {
type = types.str; type = types.str;
default = "foot"; default = "foot";
@ -20,8 +20,8 @@ in
}; };
config = config =
mkIf cfg.home-manager { mkIf cfg.desktop {
home-manager.users.erwin = mkIf cfg.home-manager { home-manager.users.erwin = mkIf cfg.desktop {
_module.args.flake-inputs = inputs; _module.args.flake-inputs = inputs;
programs.home-manager.enable = true; programs.home-manager.enable = true;
@ -127,7 +127,7 @@ in
imv imv
iotop iotop
(jetbrains.clion.override { jdk = pkgs.jetbrains.jdk; }) (jetbrains.clion.override { jdk = pkgs.jetbrains.jdk; })
# kicad kicad
libnotify libnotify
libreoffice libreoffice
mpv mpv
@ -227,6 +227,8 @@ in
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules))); ] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
}; };
programs.steam.enable = true;
programs.wireshark = { programs.wireshark = {
enable = true; enable = true;
package = pkgs.wireshark; package = pkgs.wireshark;