This commit is contained in:
Charlotte 🦝 Delenk 2022-01-18 11:59:26 +01:00
parent f4a71cf513
commit 2aabb7cc05
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
3 changed files with 19 additions and 1 deletions

View file

@ -34,4 +34,6 @@
nix.buildCores = 0;
environment.pathsToLink = [ "/share/zsh" ];
console.keyMap = "neo";
}

View file

@ -1,5 +1,7 @@
desktop: { pkgs, ... }: {
imports = [
./base.nix
];
] ++ if desktop then [
../programs/sway.nix
] else [];
}

14
config/programs/sway.nix Normal file
View 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
];
}