diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/hamac-configuration.nix | 1 | ||||
-rw-r--r-- | nixos/parts/graphical.nix | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/nixos/hamac-configuration.nix b/nixos/hamac-configuration.nix index 306260d..145baf8 100644 --- a/nixos/hamac-configuration.nix +++ b/nixos/hamac-configuration.nix @@ -7,6 +7,7 @@ imports = [ ./hamac-hardware-configuration.nix ./sanix.nix + ./parts/graphical.nix ]; # Bootloader. diff --git a/nixos/parts/graphical.nix b/nixos/parts/graphical.nix new file mode 100644 index 0000000..93082a9 --- /dev/null +++ b/nixos/parts/graphical.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + programs.sway = { + enable = true; + # Execute sway with required environment variables for GTK apps. + wrapperFeatures.gtk = true; + }; + + environment.systemPackages = with pkgs; [ + ]; +} |