From df081300152dbb221cf2112ae425c3eb40178fee Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 26 Dec 2024 15:13:19 +0100 Subject: [PATCH] add sway config --- config.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config.nix b/config.nix index f7418ab..bf1de82 100644 --- a/config.nix +++ b/config.nix @@ -48,6 +48,10 @@ in ]; }; + fonts.packages = with pkgs; [ + noto-fonts + ]; + home-manager = { users.c3terminal = { home = { @@ -62,6 +66,18 @@ in chromium ]; }; + + wayland.windowManager.sway = { + enable = true; + extraConfig = '' + set $ws1 c3nav + default_border none + font pango: "Noto Sans" regular 30 + exec swaymsg "workspace $ws1;exec firefox-esr --name=c3nav --no-remote -P "terminal" https://c3nav.de; workspace $ws2; exec firefox-esr --name=fahrplan --no-remote -P "default" https://fahrplan.events.ccc.de/congress/2024/fahrplan/schedule/" + include /etc/sway/config.d/* + ''; + }; + programs = { firefox = { enable = true; @@ -102,7 +118,7 @@ in boot = { loader = { grub = { - enable = true; + #enable = true; }; efi = { canTouchEfiVariables = true;