summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/default.nix (renamed from hosts/glados/default.nix)2
-rw-r--r--hosts/common/security.nix (renamed from hosts/glados/security.nix)0
-rw-r--r--hosts/common/users.nix (renamed from hosts/glados/users.nix)9
-rw-r--r--hosts/glados-wsl/config.nix (renamed from hosts/glados/config.nix)2
-rw-r--r--hosts/glados-wsl/default.nix19
-rw-r--r--hosts/glados-wsl/packages.nix (renamed from hosts/glados/packages.nix)1
6 files changed, 21 insertions, 12 deletions
diff --git a/hosts/glados/default.nix b/hosts/common/default.nix
index 8f9a315..32dad83 100644
--- a/hosts/glados/default.nix
+++ b/hosts/common/default.nix
@@ -1,7 +1,5 @@
{
imports = [
- ./config.nix
- ./packages.nix
./security.nix
./users.nix
];
diff --git a/hosts/glados/security.nix b/hosts/common/security.nix
index debd6b7..debd6b7 100644
--- a/hosts/glados/security.nix
+++ b/hosts/common/security.nix
diff --git a/hosts/glados/users.nix b/hosts/common/users.nix
index e0b04c5..1dd219e 100644
--- a/hosts/glados/users.nix
+++ b/hosts/common/users.nix
@@ -15,13 +15,4 @@ with config; with lib; with pkgs;
initialHashedPassword = mkDefault "!";
};
- seth = {
- extraGroups = [ "wheel" ];
- isNormalUser = true;
- hashedPassword = "idontknowhowtosecurethis";
- shell = fish;
- };
-
- };
- };
}
diff --git a/hosts/glados/config.nix b/hosts/glados-wsl/config.nix
index 819a4f4..7a649af 100644
--- a/hosts/glados/config.nix
+++ b/hosts/glados-wsl/config.nix
@@ -9,7 +9,7 @@
# opengl.enable = true;
# };
- networking.hostName = "glados";
+ networking.hostName = "glados-wsl";
programs = {
gnupg = {
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix
new file mode 100644
index 0000000..2846100
--- /dev/null
+++ b/hosts/glados-wsl/default.nix
@@ -0,0 +1,19 @@
+{ config, modulesPath, pkgs, ...}:
+
+{
+ imports = [
+ (modulesPath + "/profiles/minimal.nix")
+ ./config.nix
+ ./packages.nix
+ ../../users/seth
+ ];
+
+ # enable non-free packages
+ nixpkgs.config.allowUnfree = true;
+
+ # Enable nix flakes
+ nix.package = pkgs.nixFlakes;
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+
+ system.stateVersion = "22.11";
+}
diff --git a/hosts/glados/packages.nix b/hosts/glados-wsl/packages.nix
index 63de591..bfca6df 100644
--- a/hosts/glados/packages.nix
+++ b/hosts/glados-wsl/packages.nix
@@ -2,6 +2,7 @@
{
environment.systemPackages = with pkgs; [
+ git
neofetch
nixos-option
python310