Update files

This commit is contained in:
2026-08-11 20:38:45 +01:00
parent a8f16bcd6f
commit cf041a4e2d
4 changed files with 27 additions and 21 deletions
+2
View File
@@ -22,6 +22,7 @@
nix-gaming.url = "github:fufexan/nix-gaming"; nix-gaming.url = "github:fufexan/nix-gaming";
disko.url = "github:nix-community/disko/latest"; disko.url = "github:nix-community/disko/latest";
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-26.05"; url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -88,6 +89,7 @@
modules = [ modules = [
./hardware ./hardware
./system ./system
nixos-hardware.nixosModules.framework-16-amd-ai-300-series
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
powerManagement.enable = true; powerManagement.enable = true;
+9 -7
View File
@@ -4,13 +4,15 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
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;
} }
+14 -14
View File
@@ -5,18 +5,18 @@
./nas-mounts.nix ./nas-mounts.nix
]; ];
fileSystems = { # fileSystems = {
"/home/chris/Games" = { # "/home/chris/Games" = {
device = "/dev/disk/by-label/Games"; # device = "/dev/disk/by-label/Games";
fsType = "ext4"; # fsType = "ext4";
options = [ # options = [
"defaults" # "defaults"
"x-systemd.mount-timeout=5" # "x-systemd.mount-timeout=5"
"user" # "user"
"exec" # "exec"
"x-systemd.automount" # "x-systemd.automount"
"noauto" # "noauto"
]; # ];
}; # };
}; # };
} }
+2
View File
@@ -39,6 +39,8 @@
defaultSession = "hyprland-uwsm"; defaultSession = "hyprland-uwsm";
}; };
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
hardware.bolt.enable = true;
}; };
security.pam.services.sddm.enableGnomeKeyring = true; security.pam.services.sddm.enableGnomeKeyring = true;
} }