This commit is contained in:
Gustav Bruhn 2026-01-16 21:56:07 +01:00
parent 18d17bea16
commit d017a00895
3 changed files with 13 additions and 15 deletions

6
flake.lock generated
View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768530555, "lastModified": 1768596095,
"narHash": "sha256-EBXKDho4t1YSgodAL6C8M3UTm8MGMZNQ9rQnceR5+6c=", "narHash": "sha256-u+k4Q/n3+c02KHxLJ6Ta48sMrwzbxBbDozUj4KzqsEc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d21bee5abf9fb4a42b2fa7728bf671f8bb246ba6", "rev": "3c71ea724c54b29a8f62e2b965caafca863fa3a2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -30,6 +30,10 @@
myOptions.niri.enable = false; myOptions.niri.enable = false;
networking.hostName = "desktop"; # Define your hostname. networking.hostName = "desktop"; # Define your hostname.
environment.systemPackages = with pkgs; [
kdePackages.kdenlive
obs-studio
];
home-manager = { home-manager = {
extraSpecialArgs = { extraSpecialArgs = {

View File

@ -12,31 +12,25 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/f30c7188-4875-42c0-abfd-78f9653437de"; device = "/dev/disk/by-uuid/17beaf8e-a9a0-400a-a13d-255199f3ffe2";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/50EC-BA3D"; device = "/dev/disk/by-uuid/40DB-C798";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = ["fmask=0077" "dmask=0077"];
}; };
swapDevices = []; swapDevices = [
{device = "/dev/disk/by-uuid/4573a34f-eb82-4364-ae08-082e126bfdc7";}
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking ];
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s20f0u10.useDHCP = lib.mkDefault true;
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;