summaryrefslogtreecommitdiff
path: root/neko
diff options
context:
space:
mode:
Diffstat (limited to 'neko')
-rw-r--r--neko/configuration.nix8
-rw-r--r--neko/hardware-configuration.nix5
-rw-r--r--neko/install.txt7
3 files changed, 11 insertions, 9 deletions
diff --git a/neko/configuration.nix b/neko/configuration.nix
index 6e8d8e0..7c42433 100644
--- a/neko/configuration.nix
+++ b/neko/configuration.nix
@@ -17,10 +17,10 @@
# intel graphics
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
- # our hostname
+ # our hostname and an ID for ZFS
networking.hostName = "neko";
+ networking.hostId = "cf5a5ee6";
- # use NetworkManager
- networking.useDHCP = false;
- networking.networkmanager.enable = true;
+ # classic dhcpcd
+ networking.networkmanager.enable = false;
}
diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix
index 62c1669..50fa14c 100644
--- a/neko/hardware-configuration.nix
+++ b/neko/hardware-configuration.nix
@@ -10,11 +10,6 @@
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
- # use the right soundcard
- boot.extraModprobeConfig = ''
- options snd_hda_intel enable=0,1
- '';
-
# don't check for split locks, for KVM and Co.
boot.kernelParams = [ "split_lock_detect=off" ];
diff --git a/neko/install.txt b/neko/install.txt
index 646f1ef..66da359 100644
--- a/neko/install.txt
+++ b/neko/install.txt
@@ -21,6 +21,13 @@ nix --extra-experimental-features flakes --extra-experimental-features nix-comma
sudo dd if=result/iso/nixos-24.05.20240108.317484b-x86_64-linux.iso of=/dev/sda bs=4M conv=fsync
+# good ZFS links
+
+https://openzfs.github.io/openzfs-docs/Getting%20Started/NixOS/Root%20on%20ZFS.html
+https://carjorvaz.com/posts/installing-nixos-with-root-on-tmpfs-and-encrypted-zfs-on-a-netcup-vps/
+https://astrid.tech/2021/12/17/0/two-disk-encrypted-zfs/
+https://mzhang.io/posts/2022-05-09-installing-nixos-on-encrypted-zfs/
+
#
# enable ssh for root
#