Compare commits

..

3 commits

4 changed files with 9 additions and 29 deletions

View file

@ -244,8 +244,6 @@
hardwareModules = [
lix-module.nixosModules.default
./nixos/profiles/hw-supermicro.nix
disko.nixosModules.disko
(import ./nixos/profiles/disko-nixos.nix { disks = [ "/dev/disk/by-id/ata-Seagate_IronWolfPro_ZA240NX10001-2ZH100_7TF002RA" ]; })
];
profileModules = [
./nixos/profiles/role-server.nix

View file

@ -1,7 +1,7 @@
# 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, modulesPath, ... }:
{ config, lib, modulesPath, inputs, ... }:
let
sanoidConfig = import ./config/sanoid.nix { };
in
@ -9,6 +9,8 @@ in
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
inputs.disko.nixosModules.disko
(import ./nixos/profiles/disko-nixos.nix { disks = [ "/dev/sda" ]; })
];
boot = {
@ -44,26 +46,6 @@ in
};
};
fileSystems."/" = {
device = "zroot/root";
fsType = "zfs";
};
fileSystems."/nix" = {
device = "zroot/nix";
fsType = "zfs";
};
fileSystems."/var" = {
device = "zroot/var";
fsType = "zfs";
};
fileSystems."/home" = {
device = "zroot/home";
fsType = "zfs";
};
swapDevices = [ ];
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -21,9 +21,6 @@
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
# efi = {
# canTouchEfiVariables = true;
# };
};
};

View file

@ -5,9 +5,12 @@
supportedFilesystems = [ "nfs" ];
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
grub = {
enable = true;
efiInstallAsRemovable = true;
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
};
};