all repos — nixfiles @ 79a345c57561d184d0226b20498f3b8d525426e9

System and user configuration, managed by nix and home-manager

r5: add mount for /srv

Alin
commit

79a345c57561d184d0226b20498f3b8d525426e9

parent

09a7b29dcb1746c9f2e3d550a9dc4e2014751101

1 file changed, 23 insertions(+), 12 deletions(-)

changed files
M system/hosts/r5-hardware.nix → system/hosts/r5-hardware.nix
@@ -1,7 +1,13 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { imports = [ ];
@@ -11,19 +17,24 @@ boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-label/nixos"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-label/nixos"; + fsType = "ext4"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-label/boot"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-label/boot"; - fsType = "ext4"; - }; + fileSystems."/srv" = { + device = "/dev/disk/by-label/srv"; + fsType = "ext4"; + }; - swapDevices = - [ { device = "/dev/disk/by-label/swap"; } - ]; + swapDevices = [ + { device = "/dev/disk/by-label/swap"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; }