Update files
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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
@@ -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"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user