Minor changes

- Redid the flake module to be based on extendModules instead
- Added wrappers
- Refactored code
- Updated dependencies
This commit is contained in:
Nikodem Rabuliński 2023-08-31 22:27:07 +02:00
parent 9661927410
commit ee7223ca36
No known key found for this signature in database
GPG key ID: FF629AA9E08138DB
19 changed files with 468 additions and 97 deletions

View file

@ -1,4 +1,6 @@
{bootDevice ? "/dev/sda", ...}: {
args: let
bootDevice = args.bootDevice or "/dev/sda";
in {
disko.devices.disk.bootDisk = {
type = "disk";
device = bootDevice;
@ -32,7 +34,10 @@
inherit mountOptions;
mountpoint = "/";
};
"/nix" = {inherit mountOptions;};
"/nix" = {
inherit mountOptions;
mountpoint = "/nix";
};
};
};
}