nix-configs

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

atlas.nix (2650B)


      1 # Desktop
      2 
      3 { config, pkgs, lib, fullname, username, domain, email, sshkey, sshport, timezone, postcode, address, htpasswd, vpnusername, vpnpassword, todosecret, privatekey, matrixuser, matrixserver, ... }:
      4 
      5 let machine = "atlas"; in {
      6 
      7   imports = [
      8     (import ../common/variables.nix { inherit machine fullname username domain email sshkey sshport timezone postcode address htpasswd vpnusername vpnpassword todosecret privatekey matrixuser matrixserver; })
      9     (import ../common/home-manager.nix  { inherit machine fullname username domain email sshkey sshport timezone postcode address htpasswd vpnusername vpnpassword todosecret privatekey matrixuser matrixserver; })
     10     ../common/audio.nix
     11     ../common/autologin.nix
     12     ../common/boot-systemd.nix
     13     ../common/devel.nix
     14     ../common/flakes.nix
     15     ../common/fonts.nix
     16     ../common/garbage.nix
     17     ../common/hyprland.nix
     18     ../common/locale.nix
     19     ../common/mount-drives.nix
     20     ../common/networking.nix
     21     ../common/nfs.nix
     22     ../common/nur.nix
     23     ../common/packages-unfree.nix
     24     ../common/packages.nix
     25     ../common/ssh.nix
     26     ../common/steam.nix
     27     ../common/syncthing.nix
     28     ../common/user.nix
     29     ../common/ydotool.nix
     30     ../common/zram.nix
     31     ../scripts/ctimerename.nix
     32     ../scripts/duupmove.nix
     33     ../scripts/restic.nix
     34     ../scripts/seedy.nix
     35     ../scripts/vidyascape.nix
     36     ../scripts/xdb.nix
     37   ];
     38   home-manager.users.${username} = {pkgs, ...}: { imports = [
     39         ../home/alacritty.nix
     40         ../home/clipse.nix
     41         ../home/cursor.nix
     42         ../home/espanso.nix
     43         ../home/firefox.nix
     44         ../home/fish.nix
     45         ../home/git.nix
     46         ../home/htop.nix
     47         ../home/hypridle.nix
     48         ../home/hyprland.nix
     49         ../home/hyprland-numlock.nix
     50         ../home/iamb.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/ssh.nix
     58         ../home/tofi.nix
     59         ../home/yt-dlp.nix
     60       ];
     61       home.stateVersion = "24.11";
     62     };
     63 
     64   # Hardware and system
     65   boot.initrd = { availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; };
     66   boot.kernelModules = [ "kvm-intel" ];
     67   hardware.graphics = {
     68     enable = true;
     69     enable32Bit = true;
     70   };
     71   hardware.firmware = [ pkgs.linux-firmware ];
     72   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
     73   hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
     74 
     75   # Packages
     76   environment.systemPackages = with pkgs; [
     77     ntfs3g
     78     glib
     79   ];
     80 
     81   system.stateVersion = "24.11"; # Did you read the comment?
     82 
     83 }