diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/common/optional/services/nolid.nix | 7 | ||||
-rw-r--r-- | hosts/jupiter/default.nix | 1 | ||||
-rw-r--r-- | hosts/neptune/default.nix | 1 | ||||
-rw-r--r-- | hosts/saturn/default.nix | 1 | ||||
-rw-r--r-- | hosts/uranus/default.nix | 1 |
5 files changed, 11 insertions, 0 deletions
diff --git a/hosts/common/optional/services/nolid.nix b/hosts/common/optional/services/nolid.nix new file mode 100644 index 0000000..db868fe --- /dev/null +++ b/hosts/common/optional/services/nolid.nix @@ -0,0 +1,7 @@ +{ + services.logind = { + lidSwitch = "ignore"; + lidSwitchDocked = "ignore"; + lidSwitchExternalPower = "ignore"; + }; +} diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix index 7c6126d..412342b 100644 --- a/hosts/jupiter/default.nix +++ b/hosts/jupiter/default.nix @@ -23,6 +23,7 @@ ../common/core ../common/optional/misc.nix ../common/optional/services/fwupd.nix + ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix ../common/optional/zfs.nix ../common/users/nipsy diff --git a/hosts/neptune/default.nix b/hosts/neptune/default.nix index b98418f..02453e7 100644 --- a/hosts/neptune/default.nix +++ b/hosts/neptune/default.nix @@ -23,6 +23,7 @@ ../common/core ../common/optional/misc.nix ../common/optional/services/fwupd.nix + ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix ../common/optional/zfs.nix ../common/users/nipsy diff --git a/hosts/saturn/default.nix b/hosts/saturn/default.nix index a7b531a..b05fc8a 100644 --- a/hosts/saturn/default.nix +++ b/hosts/saturn/default.nix @@ -23,6 +23,7 @@ ../common/core ../common/optional/misc.nix ../common/optional/services/fwupd.nix + ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix ../common/optional/zfs.nix ../common/users/nipsy diff --git a/hosts/uranus/default.nix b/hosts/uranus/default.nix index 3b6e540..0f0dd48 100644 --- a/hosts/uranus/default.nix +++ b/hosts/uranus/default.nix @@ -23,6 +23,7 @@ ../common/core ../common/optional/misc.nix ../common/optional/services/fwupd.nix + ../common/optional/services/nolid.nix ../common/optional/services/openssh.nix ../common/optional/zfs.nix ../common/users/nipsy |