sway: added sway profile

This commit is contained in:
Serĉanto de Scio 2021-05-25 11:29:27 +10:00
parent 3540cfa5ac
commit 014be05488
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 17 additions and 1 deletions

View file

@ -6,11 +6,11 @@
imports = [ imports = [
../hardware/eeepc701.nix # Include common configuration options ../hardware/eeepc701.nix # Include common configuration options
../secrets/wireless.nix ../secrets/wireless.nix
../profiles/sway.nix
]; ];
deployment.targetHost = "10.42.0.119"; deployment.targetHost = "10.42.0.119";
networking.hostName = "dhu"; # Define your hostname. networking.hostName = "dhu"; # Define your hostname.
programs.sway.enable = true;
system.stateVersion = "20.09"; # The version of NixOS originally installed system.stateVersion = "20.09"; # The version of NixOS originally installed

16
profiles/sway.nix Normal file
View file

@ -0,0 +1,16 @@
# Configuration the Sway window manager
{ config, pkgs, ... }:
{
programs.sway = {
enable = true;
extraPackages = with pkgs; [
alacritty
dmenu
swayidle
swaylock
xwayland
];
};
}