feat: expose disk-config output

This commit is contained in:
Leon Schwarzäugl 2025-03-22 22:42:57 +01:00
parent 3c441f403a
commit 182c394e7e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 2 additions and 13 deletions

View file

@ -153,6 +153,8 @@
import ./checks { inherit self inputs system pkgs; }
);
diskoConfigurations.default = import .templates/hosts/nixos/disk-config.nix;
nixosConfigurations =
lib.swarselsystems.mkFullHostConfigs (lib.swarselsystems.readHosts "nixos") "nixos";

View file

@ -16,19 +16,6 @@
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk-by-uuid/d2a8fad0-373e-4bcf-8e75-d9b5ef94199c";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk-by-uuid/5CF0-A66E";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking