From 20046902ed3c50e536900cd867e00e254fcdf69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20H=C3=A9mono?= Date: Sat, 2 Nov 2024 15:18:18 +0100 Subject: [PATCH 1/2] Move sway config to new module, don't enable --- hosts/gwiad/configuration.nix | 16 ---------------- hosts/gwiad/sway.nix | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 hosts/gwiad/sway.nix diff --git a/hosts/gwiad/configuration.nix b/hosts/gwiad/configuration.nix index 721c17a..6a9ff38 100644 --- a/hosts/gwiad/configuration.nix +++ b/hosts/gwiad/configuration.nix @@ -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 diff --git a/hosts/gwiad/sway.nix b/hosts/gwiad/sway.nix new file mode 100644 index 0000000..aa44ba6 --- /dev/null +++ b/hosts/gwiad/sway.nix @@ -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 + ]; +} From 5f26422de51fde55ea890c440455ff08d29a6fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20H=C3=A9mono?= Date: Sat, 2 Nov 2024 15:26:49 +0100 Subject: [PATCH 2/2] Remove xterm --- hosts/gwiad/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/gwiad/configuration.nix b/hosts/gwiad/configuration.nix index 6a9ff38..6b24a5b 100644 --- a/hosts/gwiad/configuration.nix +++ b/hosts/gwiad/configuration.nix @@ -126,6 +126,9 @@ xkb.layout = "fr"; displayManager.gdm.enable = true; desktopManager.gnome.enable = true; + excludePackages = with pkgs; [ + xterm + ]; }; environment.gnome.excludePackages = with pkgs; [ epiphany