summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/systemd.nix2
-rw-r--r--hosts/glados-wsl/default.nix32
2 files changed, 17 insertions, 17 deletions
diff --git a/hosts/common/systemd.nix b/hosts/common/systemd.nix
index 9d44da4..ba2464f 100644
--- a/hosts/common/systemd.nix
+++ b/hosts/common/systemd.nix
@@ -1,5 +1,5 @@
{config, ...}: let
- value = config.sys.wsl.enable;
+ value = !config.sys.wsl.enable;
in {
services = {
journald.extraConfig = ''
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix
index bc9bdd2..fa4a750 100644
--- a/hosts/glados-wsl/default.nix
+++ b/hosts/glados-wsl/default.nix
@@ -1,23 +1,23 @@
{
- config,
- modulesPath,
- pkgs,
- ...
+ config,
+ modulesPath,
+ pkgs,
+ ...
}: {
- imports = [
- (modulesPath + "/profiles/minimal.nix")
- ../common
- ../../users/seth
- ];
+ imports = [
+ (modulesPath + "/profiles/minimal.nix")
+ ../common
+ ../../users/seth
+ ];
- sys.wsl.enable = true;
+ sys.wsl.enable = true;
- # enable non-free packages
- nixpkgs.config.allowUnfree = true;
+ # enable non-free packages
+ nixpkgs.config.allowUnfree = true;
- # Enable nix flakes
- nix.package = pkgs.nixFlakes;
- nix.settings.experimental-features = ["nix-command" "flakes"];
+ # Enable nix flakes
+ nix.package = pkgs.nixFlakes;
+ nix.settings.experimental-features = ["nix-command" "flakes"];
- system.stateVersion = "22.11";
+ system.stateVersion = "22.11";
}