From 469f9c38e782195ef2ed5da24651afa57d028b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 24 Aug 2024 23:30:39 +0200 Subject: [PATCH] [feat] sway: enable systemd integration --- home/gui/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/home/gui/default.nix b/home/gui/default.nix index 8792695..4d11c74 100644 --- a/home/gui/default.nix +++ b/home/gui/default.nix @@ -23,8 +23,7 @@ in { config = lib.mkIf (jhome.enable && cfg.enable) { home.packages = - with pkgs; - [ + (with pkgs; [ webcord ferdium xournalpp @@ -33,9 +32,9 @@ in wl-clipboard # Extra fonts noto-fonts-cjk # Chinese, Japanese and Korean characters - (pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) - ] - ++ lib.optional flatpakEnabled flatpak; + (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) + ]) + ++ lib.optional flatpakEnabled pkgs.flatpak; fonts.fontconfig = { enable = true; defaultFonts = lib.mkIf config.jhome.styling.enable { @@ -139,6 +138,10 @@ in inherit (cfg.sway) enable; package = swayPkg; # no sway package if it comes from the OS config = import ./sway-config.nix { inherit config pkgs; }; + systemd = { + enable = true; + xdgAutostart = true; + }; }; # Set cursor style -- 2.47.0