pluto: create a specialisation for desktop usage

This commit is contained in:
Nico 2025-05-03 16:16:03 +10:00
parent d81ffe3836
commit 3ad4101be4
2 changed files with 20 additions and 8 deletions

View file

@ -20,20 +20,13 @@
modules = [ modules = [
./hosts/nixos-common.nix ./hosts/nixos-common.nix
./modules/applications/default.nix
./modules/browser/firefox.nix
./modules/games/linux.nix
./modules/nix/linux.nix ./modules/nix/linux.nix
./modules/shell.nix ./modules/shell.nix
./modules/desktop/default.nix
./modules/desktop/de/hyprland.nix
./modules/desktop/de/niri.nix
./modules/services/media/arr.nix ./modules/services/media/arr.nix
./modules/services/media/jellyfin.nix ./modules/services/media/jellyfin.nix
./modules/services/glance.nix
./modules/services/ssh.nix ./modules/services/ssh.nix
./modules/services/glance.nix
./modules/network/avahi.nix ./modules/network/avahi.nix
./modules/network/firewall/opensnitch.nix ./modules/network/firewall/opensnitch.nix
@ -46,6 +39,7 @@
./hosts/disko-desktop.nix ./hosts/disko-desktop.nix
disko.nixosModules.disko disko.nixosModules.disko
./hosts/pluto/conf.nix ./hosts/pluto/conf.nix
./hosts/pluto/specialisation.nix
./hosts/pluto/hardware-configuration.nix ./hosts/pluto/hardware-configuration.nix
]; ];
}; };

View file

@ -0,0 +1,18 @@
{ ... }:
{
specialisation.desktop = {
inheritParentConfig = true;
configuration = {
imports = [
../../modules/applications/default.nix
../../modules/browser/firefox.nix
../../modules/games/linux.nix
../../modules/desktop/default.nix
../../modules/desktop/de/hyprland.nix
../../modules/desktop/login/autologin.nix
];
};
};
}