mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
23 lines
548 B
Nix
23 lines
548 B
Nix
{ lib, pkgs, modulesPath, ... }:
|
|
|
|
# Most of the filesystems listed here are supposed to be overriden to default
|
|
# settings of whatever image format configuration this host system will import
|
|
# from nixos-generators.
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
fileSystems."/" = lib.mkOverride 2000 {
|
|
label = "nixos";
|
|
fsType = "ext4";
|
|
autoResize = true;
|
|
};
|
|
|
|
fileSystems."/srv" = lib.mkOverride 2000 {
|
|
label = "data";
|
|
options = [
|
|
"discard"
|
|
"defaults"
|
|
];
|
|
fsType = "ext4";
|
|
};
|
|
}
|