Compare commits
2 Commits
e161df5cc8
...
cbdc5a99f2
Author | SHA1 | Date |
---|---|---|
|
cbdc5a99f2 | |
|
34c02e4049 |
|
@ -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,10 @@
|
||||||
|
|
||||||
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 = {
|
boot = {
|
||||||
zfs = {
|
zfs = {
|
||||||
devNodes = "/dev/disk/by-uuid";
|
devNodes = "/dev/disk/by-uuid";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostId = "25698a58";
|
|
||||||
networking.hostName = "nixos";
|
networking.hostName = "nixos";
|
||||||
networking.wireless = { iwd = { enable = true; }; };
|
networking.wireless = { iwd = { enable = true; }; };
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
Loading…
Reference in New Issue