fs-config: move / fs mount from hardware-configuration -> fs-configuration

This commit is contained in:
Colin 2022-05-03 00:08:18 +00:00
parent 69cc56134f
commit 1bc5af002a
2 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,11 @@
{ config, pkgs, lib, ... }:
{
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
fileSystems."/mnt/storage" = {
device = "/dev/disk/by-uuid/2be70d38-79f4-41b6-bee2-bce5a25f8f7b";
fsType = "ext4";

View File

@ -13,10 +13,11 @@
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
# XXX colin: moved to fs-configuration.nix
# fileSystems."/" =
# { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
# fsType = "ext4";
# };
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}