This commit is contained in:
lucy 2026-07-10 18:00:44 +02:00
commit 46bfe9c7cf
3 changed files with 40 additions and 23 deletions

View file

@ -6,7 +6,6 @@
}: }:
{ {
imports = [ imports = [
./easyroam.nix
./stylix.nix ./stylix.nix
./nixvim/nixvim.nix ./nixvim/nixvim.nix
]; ];

View file

@ -42,7 +42,7 @@
{ {
nixosConfigurations.seele = nixpkgs.lib.nixosSystem { nixosConfigurations.seele = nixpkgs.lib.nixosSystem {
modules = [ modules = [
./easyroam.nix
./configuration.nix ./configuration.nix
./nixvim/nixvim.nix ./nixvim/nixvim.nix
nix-easyroam.nixosModules.nix-easyroam nix-easyroam.nixosModules.nix-easyroam
@ -57,9 +57,9 @@
} }
({ lib, ... }: { ({ lib, ... }: {
networking.hostName = lib.mkForce "seele"; networking.hostName = lib.mkForce "seele";
imports = [ imports = [
./hardware-configuration-laptop.nix ./hardware-configuration-laptop.nix
]; ];
}) })
@ -80,12 +80,11 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs; };
} }
lanzaboote.nixosModules.lanzaboote
({ pkgs, lib, ... }: { ({ pkgs, lib, ... }: {
imports = [ imports = [
./hardware-configuration-desktop.nix ./hardware-configuration-desktop.nix
]; ];
networking.hostName = lib.mkForce "nerv"; networking.hostName = lib.mkForce "nerv";
environment.systemPackages = [ environment.systemPackages = [
# For debugging and troubleshooting Secure Boot. # For debugging and troubleshooting Secure Boot.

View file

@ -1,31 +1,50 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’ # Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [
"nvme"
"ahci"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/64a37727-0c5f-41d4-afac-dc26978916c1"; device = "/dev/disk/by-uuid/64a37727-0c5f-41d4-afac-dc26978916c1";
fsType = "xfs"; fsType = "xfs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/F424-0E3E"; device = "/dev/disk/by-uuid/F424-0E3E";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [
}; "fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ]; swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = true; # see the note above
boot.loader.systemd-boot.configurationLimit = 5;
} }