atlas.nix (2097B)
1 # Desktop 2 3 { config, pkgs, lib, vars, ... }: 4 5 { 6 7 imports = [ 8 ../common/audio.nix 9 ../common/autologin.nix 10 ../common/boot-systemd.nix 11 ../common/devel.nix 12 ../common/flakes.nix 13 ../common/fonts.nix 14 ../common/garbage.nix 15 ../common/home-manager.nix 16 ../common/hyprland.nix 17 ../common/locale.nix 18 ../common/mount-drives.nix 19 ../common/networking.nix 20 ../common/nfs.nix 21 ../common/nur.nix 22 ../common/packages.nix 23 ../common/scanning.nix 24 ../common/ssh.nix 25 ../common/steam.nix 26 ../common/syncthing.nix 27 ../common/user.nix 28 ../common/ydotool.nix 29 ../scripts/ctimerename.nix 30 ../scripts/duplicate-filenames.nix 31 ../scripts/duupmove.nix 32 ../scripts/restic.nix 33 ../scripts/scan-to-pdf.nix 34 ../scripts/seedy.nix 35 ../scripts/taudiobooker.nix 36 ../scripts/vidyaplace-tears.nix 37 ../scripts/vidyaplace.nix 38 ]; 39 home-manager.users.${vars.user.username} = {pkgs, ...}: { imports = [ 40 ../home/alacritty.nix 41 ../home/clipse.nix 42 ../home/cursor.nix 43 ../home/espanso.nix 44 ../home/firefox.nix 45 ../home/fish.nix 46 ../home/git.nix 47 ../home/github-desktop.nix 48 ../home/htop.nix 49 ../home/hypridle.nix 50 ../home/hyprland.nix 51 ../home/lf.nix 52 ../home/mpv.nix 53 ../home/neovim.nix 54 ../home/newsboat.nix 55 ../home/rbw.nix 56 ../home/rclone.nix 57 ../home/spotify.nix 58 ../home/ssh.nix 59 ../home/tofi.nix 60 ../home/wayle.nix 61 ../home/yt-dlp.nix 62 ]; 63 home.stateVersion = "24.11"; 64 }; 65 66 # Hardware and system 67 boot.initrd = { availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; }; 68 boot.kernelModules = [ "kvm-intel" ]; 69 hardware.graphics = { 70 enable = true; 71 enable32Bit = true; 72 }; 73 hardware.firmware = [ pkgs.linux-firmware ]; 74 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 75 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 76 77 # Packages 78 environment.systemPackages = with pkgs; [ 79 discord 80 ntfs3g 81 ]; 82 83 system.stateVersion = "24.11"; # Did you read the comment? 84 85 }