diff --git a/home/common-linux.nix b/home/common-linux.nix index 7543a9d..36b3159 100644 --- a/home/common-linux.nix +++ b/home/common-linux.nix @@ -1,6 +1,9 @@ { pkgs, config, lib, ... }: with lib; { - imports = [ ./modules/linux/graphical ./modules/X11/xfce4-notifyd.nix ]; + imports = [ + ./modules/linux/graphical + ./modules/X11/xfce4-notifyd.nix + ]; config = (mkIf (strings.hasSuffix "linux" pkgs.system) { ## Gnome-keyring services.gnome-keyring = { diff --git a/home/modules/programs/my-sway/default.nix b/home/modules/programs/my-sway/default.nix index e008055..5fb4372 100644 --- a/home/modules/programs/my-sway/default.nix +++ b/home/modules/programs/my-sway/default.nix @@ -194,7 +194,7 @@ in ''; }; - config.systemd.user.targets.sway-session = { + config.systemd.user.targets.sway-session = mkIf cfg.enable { Unit = { Description = "sway compositor session"; Documentation = [ "man:systemd.special(7)" ];