nix-configs

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

atlas.nix (2569B)


      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.nix
     24     ../common/scanning.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/github-desktop.nix
     47     ../home/htop.nix
     48     ../home/hypridle.nix
     49     ../home/hyprland-numlock.nix
     50     ../home/hyprland.nix
     51     ../home/iamb.nix
     52     ../home/lf.nix
     53     ../home/mpv.nix
     54     ../home/neovim.nix
     55     ../home/newsboat.nix
     56     ../home/rbw.nix
     57     ../home/rclone.nix
     58     ../home/ssh.nix
     59     ../home/tofi.nix
     60     ../home/yt-dlp.nix
     61   ];
     62   home.stateVersion = "24.11";
     63 };
     64 
     65   # Hardware and system
     66   boot.initrd = { availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; };
     67   boot.kernelModules = [ "kvm-intel" ];
     68   hardware.graphics = {
     69     enable = true;
     70     enable32Bit = true;
     71   };
     72   hardware.firmware = [ pkgs.linux-firmware ];
     73   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
     74   hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
     75 
     76   # Packages
     77   environment.systemPackages = with pkgs; [
     78     ntfs3g
     79   ];
     80 
     81   system.stateVersion = "24.11"; # Did you read the comment?
     82 
     83 }