Minimal hyprland config

This commit is contained in:
LarsZauberer 2024-04-12 15:53:06 +02:00
commit dc3942a838
6 changed files with 91 additions and 18 deletions

View file

@ -7,5 +7,11 @@
username = "lars";
};
};
hyprland = {
enable = true;
nvidia.enable = true;
};
};
services.getty.autologinUser = "lars";
}

View file

@ -1,6 +1,12 @@
_: {
imports = [
../.
./../programs.nix
./../hyprland.nix
./programs.nix
./configuration.nix
./hardware-configuration.nix
./profile.nix
./configuration.nix
./programs.nix
./hardware-configuration.nix

View file

@ -8,18 +8,18 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/bca69c91-6f66-4b21-b90e-15b4bc21a405";
{ device = "/dev/disk/by-uuid/4d68fd1c-bfcf-44b8-b9a2-c27be0a4f4c3";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8683-FD07";
{ device = "/dev/disk/by-uuid/0461-D6B4";
fsType = "vfat";
};
@ -30,8 +30,9 @@
# 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.enp1s0f0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -3,7 +3,7 @@ _: {
../../../options/boot/grub-boot.nix
../../../options/desktop/fonts.nix
../../../options/common/networking.nix
../../options/common/gpu/nvidia.nix
../../../options/common/gpu/nvidia.nix
../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix
];