From 014be05488b175c27d02eddb3df138539b7ff98f Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Tue, 25 May 2021 11:29:27 +1000 Subject: [PATCH] sway: added sway profile --- hosts/dhu.nix | 2 +- profiles/sway.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 profiles/sway.nix 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 + ]; + }; +}