host/home: add disko config

This commit is contained in:
Dmitriy Pleshevskiy 2025-03-06 12:52:15 +03:00
parent 8aaabd5585
commit 5bc599772d
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
3 changed files with 8 additions and 3 deletions

6
flake.lock generated
View file

@ -30,11 +30,11 @@
]
},
"locked": {
"lastModified": 1738148035,
"narHash": "sha256-KYOATYEwaKysL3HdHdS5kbQMXvzS4iPJzJrML+3TKAo=",
"lastModified": 1740485968,
"narHash": "sha256-WK+PZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y=",
"owner": "nix-community",
"repo": "disko",
"rev": "18d0a984cc2bc82cf61df19523a34ad463aa7f54",
"rev": "19c1140419c4f1cdf88ad4c1cfb6605597628940",
"type": "github"
},
"original": {

View file

@ -180,8 +180,10 @@
++ [ ./hosts/${hostname}/configuration.nix ];
})
(import ./hosts inputs);
diskoConfigurations = {
asus-gl553vd = import ./hosts/asus-gl553vd/disk-config.nix;
home = import ./hosts/home/disk-config.nix;
};
};
}

View file

@ -0,0 +1,3 @@
import ../../disko/luks-btrfs.nix {
device = "/dev/disk/by-id/nvme-NE-256_2280_0014164009305";
}