nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

atlas.nix (2299B)


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