about summary refs log tree commit diff stats
path: root/hosts/isimud
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-29 16:15:19 +0200
committerSoispha <soispha@vhack.eu>2023-07-29 16:15:19 +0200
commit2e46123cb14b7a4160fff501087b79541df2731e (patch)
tree92c86ea5a9eb1df50d30d0630b8f49c3237ae169 /hosts/isimud
parentFix(hm/conf/gpg): Add config for isimud (diff)
downloadnixos-config-2e46123cb14b7a4160fff501087b79541df2731e.tar.gz
nixos-config-2e46123cb14b7a4160fff501087b79541df2731e.zip
Fix(hosts/isimud): Import the whole system configuration
Diffstat (limited to '')
-rw-r--r--hosts/isimud/default.nix22
-rw-r--r--hosts/isimud/hardware/default.nix7
-rw-r--r--hosts/isimud/networking.nix5
3 files changed, 18 insertions, 16 deletions
diff --git a/hosts/isimud/default.nix b/hosts/isimud/default.nix
index 8c5387ef..ec4e623c 100644
--- a/hosts/isimud/default.nix
+++ b/hosts/isimud/default.nix
@@ -2,18 +2,20 @@
   imports = [
     ./hardware
     ./networking.nix
+    ../../system
   ];
 
-  console = {
-    keyMap = "dvorak";
-  };
-
-  # enable gnome
-  services.xserver = {
-    enable = true;
-    layout = "dvorak";
-    displayManager.gdm.enable = true;
-    desktopManager.gnome.enable = true;
+  soispha = {
+    locale = {
+      enable = true;
+      keyMap = "dvorak";
+    };
+    fs.backup = {
+      enable = false;
+    };
+    users = {
+      hashedPassword = "$y$jFT$YvneNBxEtbrysV2OMG0X30$eKHdzZxJkjD3pXuGOuqbnTaeym5.4ik6kxhE.rJxs3.";
+    };
   };
 
   system.stateVersion = "23.05";
diff --git a/hosts/isimud/hardware/default.nix b/hosts/isimud/hardware/default.nix
index da4ded8d..f55365b3 100644
--- a/hosts/isimud/hardware/default.nix
+++ b/hosts/isimud/hardware/default.nix
@@ -13,9 +13,12 @@
 
   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
 
+  soispha.disks = {
+    enable = false;
+  };
+
   boot = {
     kernelModules = [];
-    kernelPackages = pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs
-    zfs.enableUnstable = true; # Default zfs is "broken" (to nixos) on the newest kernel
+    kernelPackages = lib.mkDefault pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs
   };
 }
diff --git a/hosts/isimud/networking.nix b/hosts/isimud/networking.nix
index 3dfd7e84..58c84ee5 100644
--- a/hosts/isimud/networking.nix
+++ b/hosts/isimud/networking.nix
@@ -1,7 +1,4 @@
-{
-  lib,
-  ...
-}: {
+{lib, ...}: {
   # Disable networking
   networking.useDHCP = lib.mkForce false;
   networking.interfaces = lib.mkForce {};