This commit is contained in:
2026-03-06 12:03:35 +01:00
parent 82f13393ff
commit bfb444706a
6 changed files with 22 additions and 30 deletions

View File

@@ -1,5 +1,10 @@
{ inputs, config, ... }: {
flake.nixosModules.computer-nadine = { ... }: {
flake.nixosConfigurations."computer-nadine" = inputs.self.lib.mkHost {
system = "x86_64-linux";
host = "computer-nadine";
};
flake.nixosModules.computer-nadine = { system, ... }: {
imports = with inputs.self.nixosModules; [
apps-sys-chrome
apps-sys-vesktop
@@ -23,5 +28,10 @@
kde-usr-plasma-nadine
security-usr-sopsnix
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
nixpkgs.hostPlatform = system;
hardware.cpu.amd.updateMicrocode = true;
};
}

View File

@@ -1,8 +0,0 @@
{ ... }: {
flake.nixosModules.computer-nadine = { system, ... }: {
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
nixpkgs.hostPlatform = system;
hardware.cpu.amd.updateMicrocode = true;
};
}

View File

@@ -1,6 +0,0 @@
{ inputs, ... }: {
flake.nixosConfigurations."computer-nadine" = inputs.self.lib.mkHost {
system = "x86_64-linux";
host = "computer-nadine";
};
}