diff --git a/hosts/dhu.nix b/hosts/dhu.nix index d6e450e..3f99522 100644 --- a/hosts/dhu.nix +++ b/hosts/dhu.nix @@ -6,11 +6,11 @@ imports = [ ../hardware/eeepc701.nix # Include common configuration options ../secrets/wireless.nix + ../profiles/sway.nix ]; deployment.targetHost = "10.42.0.119"; networking.hostName = "dhu"; # Define your hostname. - programs.sway.enable = true; system.stateVersion = "20.09"; # The version of NixOS originally installed diff --git a/profiles/sway.nix b/profiles/sway.nix new file mode 100644 index 0000000..0db7b28 --- /dev/null +++ b/profiles/sway.nix @@ -0,0 +1,16 @@ +# Configuration the Sway window manager + +{ config, pkgs, ... }: + +{ + programs.sway = { + enable = true; + extraPackages = with pkgs; [ + alacritty + dmenu + swayidle + swaylock + xwayland + ]; + }; +}