Add sway
This commit is contained in:
parent
f4a71cf513
commit
2aabb7cc05
3 changed files with 19 additions and 1 deletions
|
@ -34,4 +34,6 @@
|
|||
nix.buildCores = 0;
|
||||
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
|
||||
console.keyMap = "neo";
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
desktop: { pkgs, ... }: {
|
||||
imports = [
|
||||
./base.nix
|
||||
];
|
||||
] ++ if desktop then [
|
||||
../programs/sway.nix
|
||||
] else [];
|
||||
}
|
||||
|
|
14
config/programs/sway.nix
Normal file
14
config/programs/sway.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }: {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true ;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
swaylock
|
||||
swayidle
|
||||
wl-clipboard
|
||||
mako # notification daemon
|
||||
alacritty # Alacritty is the default terminal in the config
|
||||
dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue