diff --git a/home/modules/baseline.nix b/home/modules/baseline.nix index fd49b9b..cfe2fb4 100644 --- a/home/modules/baseline.nix +++ b/home/modules/baseline.nix @@ -12,19 +12,5 @@ in { }; config = mkIf cfg.enable { xdg.enable = true; - - home.packages = with pkgs; [ - calc - file - git - htop - killall - man-pages - man-pages-posix - tree - units - unzip - zip - ]; }; } diff --git a/home/modules/browsers.nix b/home/modules/browsers.nix deleted file mode 100644 index b7996ec..0000000 --- a/home/modules/browsers.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -with lib; let - cfg = config.local.apps.browsers; -in { - options.local.apps.browsers = { - enable = mkEnableOption "Browser home settings"; - }; - config = mkIf cfg.enable { - home.packages = with pkgs; [ - chromium - firefox - ]; - }; -} diff --git a/home/modules/default.nix b/home/modules/default.nix index f5bf6d5..8b1c228 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -8,8 +8,5 @@ ./terminal ./neovim.nix ./baseline.nix - ./steam - ./yubikey.nix - ./browsers.nix ]; } diff --git a/home/modules/steam/default.nix b/home/modules/steam/default.nix deleted file mode 100644 index 2360e6b..0000000 --- a/home/modules/steam/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: -with lib; let - cfg = config.local.apps.steam; -in { - options.local.apps.steam = { - enable = mkEnableOption "Steam settings"; - }; - config = mkIf cfg.enable { - home.packages = [ - (pkgs.callPackage ./package.nix {}) - pkgs.protonup - pkgs.winetricks - pkgs.protontricks - ]; - }; -} diff --git a/home/modules/yubikey.nix b/home/modules/yubikey.nix deleted file mode 100644 index b0b3595..0000000 --- a/home/modules/yubikey.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -with lib; let - cfg = config.local.apps.yubikey; -in { - options.local.apps.yubikey = { - enable = mkEnableOption "Yubikey home settings"; - }; - config = mkIf cfg.enable { - home.packages = with pkgs; [ - yubikey-manager - yubico-pam - yubikey-personalization - ]; - }; -} diff --git a/home/platforms/fabian@posixlycorrect/apps.nix b/home/platforms/fabian@posixlycorrect/apps/default.nix similarity index 63% rename from home/platforms/fabian@posixlycorrect/apps.nix rename to home/platforms/fabian@posixlycorrect/apps/default.nix index 7acf1d9..9b071f6 100644 --- a/home/platforms/fabian@posixlycorrect/apps.nix +++ b/home/platforms/fabian@posixlycorrect/apps/default.nix @@ -4,27 +4,28 @@ pkgs, ... }: { - local = { - baseline.enable = true; - apps = { - terminal.enable = true; - neovim.enable = true; - steam.enable = true; - yubikey.enable = true; - browsers.enable = true; - }; - }; + imports = [ + ./steam + ]; home.packages = with pkgs; [ + calc calibre + chromium darktable deluge discord + file + firefox gcc gwenview + htop + killall kdenlive libreoffice-fresh lutris + man-pages + man-pages-posix mpv obs-studio openrct2 @@ -35,10 +36,18 @@ runelite spotify tdesktop + tree + units + unzip usbutils virt-manager + vlc vpsfree-client vscodium-fhs + yubikey-manager + yubico-pam + yubikey-personalization + zip zola zoom-us ]; diff --git a/home/platforms/fabian@posixlycorrect/apps/steam/default.nix b/home/platforms/fabian@posixlycorrect/apps/steam/default.nix new file mode 100644 index 0000000..8ba18b9 --- /dev/null +++ b/home/platforms/fabian@posixlycorrect/apps/steam/default.nix @@ -0,0 +1,14 @@ +{ + pkgs, + lib, + config, + ... +}: +with lib; { + home.packages = [ + (pkgs.callPackage ./package.nix {}) + pkgs.protonup + pkgs.winetricks + pkgs.protontricks + ]; +} diff --git a/home/modules/steam/package.nix b/home/platforms/fabian@posixlycorrect/apps/steam/package.nix similarity index 100% rename from home/modules/steam/package.nix rename to home/platforms/fabian@posixlycorrect/apps/steam/package.nix diff --git a/home/platforms/fabian@posixlycorrect/default.nix b/home/platforms/fabian@posixlycorrect/default.nix index b24596e..0055a83 100644 --- a/home/platforms/fabian@posixlycorrect/default.nix +++ b/home/platforms/fabian@posixlycorrect/default.nix @@ -6,12 +6,16 @@ ... }: { imports = [ - ./apps.nix + ./apps ./systemd ./gui ./isolation.nix ]; + local.baseline = true; + local.apps.terminal.enable = true; + local.apps.neovim.enable = true; + nix.registry = { "system".to = { type = "path";