Move sway config to new module, don't enable

This commit is contained in:
Julien Hémono 2024-11-02 15:18:18 +01:00
parent 65c4c94cd1
commit 20046902ed
2 changed files with 21 additions and 16 deletions

View file

@ -29,14 +29,6 @@
keyMap = "fr";
};
# Sway
programs.sway = {
enable = true;
};
programs.waybar = {
enable = true;
};
# Enable CUPS to print documents.
# services.printing.enable = true;
@ -75,26 +67,18 @@
];
};
in [
bemenu # slurpshot
grim # slurpshot
slurp # slurpshot
imv # slurpshot
alacritty
chromium
docker-compose
hunspell
hunspellDicts.fr-classique
inkscape
kanshi
libreoffice-fresh
my-vscode
nixfmt
pass-wayland
pulsemixer
pwgen
scribus
tex
zathura
# General development
poetry

21
hosts/gwiad/sway.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, lib, pkgs, inputs, outputs, ... }:
{
programs.sway = {
enable = true;
};
programs.waybar = {
enable = true;
};
users.users.jhemono.packages = with pkgs; [
bemenu # slurpshot
grim # slurpshot
slurp # slurpshot
imv # slurpshot
alacritty
kanshi
pulsemixer
zathura
];
}