Merge branch 'disko'
commit
60dc9583db
|
@ -1,3 +1,9 @@
|
||||||
# nixos
|
# 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
|
||||||
|
```
|
||||||
|
|
|
@ -18,6 +18,16 @@
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
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.git.enable = true;
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
import ../modules/disko.zfs-encrypted-root.nix
|
import ../../modules/disko.zfs-encrypted-root.nix
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
home.username = "h";
|
home.username = "h";
|
||||||
home.homeDirectory = "/home/h";
|
home.homeDirectory = "/home/h";
|
||||||
|
|
||||||
home.file.".inputrc".source = ./dots/.inputrc;
|
home.file.".inputrc".source = ../../dots/.inputrc;
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue