Fix missing mkIf
This commit is contained in:
parent
d1366a95c6
commit
858ddb2c8a
|
@ -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 = {
|
||||
|
|
|
@ -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)" ];
|
||||
|
|
Loading…
Reference in a new issue