summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/glados-wsl/default.nix')
-rw-r--r--hosts/glados-wsl/default.nix33
1 files changed, 17 insertions, 16 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix
index d77baf6..bc9bdd2 100644
--- a/hosts/glados-wsl/default.nix
+++ b/hosts/glados-wsl/default.nix
@@ -1,22 +1,23 @@
{
- config,
- modulesPath,
- pkgs,
- ...
+ config,
+ modulesPath,
+ pkgs,
+ ...
}: {
- imports = [
- (modulesPath + "/profiles/minimal.nix")
- ../common
- ./packages.nix
- ../../users/seth
- ];
+ imports = [
+ (modulesPath + "/profiles/minimal.nix")
+ ../common
+ ../../users/seth
+ ];
- # enable non-free packages
- nixpkgs.config.allowUnfree = true;
+ sys.wsl.enable = true;
- # Enable nix flakes
- nix.package = pkgs.nixFlakes;
- nix.settings.experimental-features = ["nix-command" "flakes"];
+ # enable non-free packages
+ nixpkgs.config.allowUnfree = true;
- system.stateVersion = "22.11";
+ # Enable nix flakes
+ nix.package = pkgs.nixFlakes;
+ nix.settings.experimental-features = ["nix-command" "flakes"];
+
+ system.stateVersion = "22.11";
}