prepare for ZFS
This commit is contained in:
parent
5606603533
commit
fc4607ec20
5 changed files with 27 additions and 47 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue