Merge branch 'disko'

Hektor Misplon 2025-10-05 00:09:49 +02:00
commit 60dc9583db
4 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,9 @@
# nixos
My NixOS config
My NixOS config
```
git clone https://git.hektormisplon.xyz/hektor/nix.git
cd nix
sudo nix run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
```

View File

@ -18,6 +18,16 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# These are needed for ZFS
networking.hostId = "25698a58";
# https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3
boot = {
zfs = {
devNodes = "/dev/disk/by-uuid";
};
};
programs.git.enable = true;
programs.firefox.enable = true;

View File

@ -1 +1 @@
import ../modules/disko.zfs-encrypted-root.nix
import ../../modules/disko.zfs-encrypted-root.nix

View File

@ -6,7 +6,7 @@
home.username = "h";
home.homeDirectory = "/home/h";
home.file.".inputrc".source = ./dots/.inputrc;
home.file.".inputrc".source = ../../dots/.inputrc;
programs.home-manager.enable = true;
}