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 = {
erwin = {
enable = true;
home-manager = true;
desktop = true;
};
builder.enable = true;
};

View file

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

View file

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