diff options
| author | Dylan <boss@tehbox.org> | 2026-10-17 22:02:09 +1300 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-10-17 22:04:40 +1300 |
| commit | 008b591a0a5942ae42f4c07a5abbee4dbd2d0743 (patch) | |
| tree | 0ae88a36bc00ede3b43b31489adae633dc54e8cd /modules/home-manager/home.nix | |
| parent | 280e1bbe5e733128a451260685cc8ecd10a042a3 (diff) | |
| download | nixos-configuration-008b591a0a5942ae42f4c07a5abbee4dbd2d0743.tar.gz nixos-configuration-008b591a0a5942ae42f4c07a5abbee4dbd2d0743.zip | |
feat: Formatting changes
Diffstat (limited to 'modules/home-manager/home.nix')
| -rw-r--r-- | modules/home-manager/home.nix | 388 |
1 files changed, 195 insertions, 193 deletions
diff --git a/modules/home-manager/home.nix b/modules/home-manager/home.nix index 3f4eb02..ad0b2c6 100644 --- a/modules/home-manager/home.nix +++ b/modules/home-manager/home.nix @@ -1,217 +1,219 @@ { inputs, config, ... }: let - hm = config.flake.modules.homeManager; + hm = config.flake.modules.homeManager; in { - flake.modules.homeManager.boss = - { pkgs, lib, ... }: - let - claude-code-latest = pkgs.claude-code.override { - manifest = lib.importJSON ./claude-code-manifest-2.1.282.json; - }; - in - { + flake.modules.homeManager.boss = + { pkgs, lib, ... }: + let + claude-code-latest = pkgs.claude-code.override { + manifest = lib.importJSON ./claude-code-manifest-2.1.282.json; + }; + in + { - imports = [ - hm.bash - hm.emacs - #hm.hyprland - hm.i3 - # hm.YATwm - hm.kitty - inputs.spicetify-nix.homeManagerModules.default - inputs.nixcord.homeModules.nixcord - inputs.zen-browser.homeModules.twilight-official - #inputs.stylix.homeManagerModules.stylix - ]; + imports = [ + hm.bash + hm.emacs + #hm.hyprland + hm.i3 + # hm.YATwm + hm.kitty + inputs.spicetify-nix.homeManagerModules.default + inputs.nixcord.homeModules.nixcord + inputs.zen-browser.homeModules.twilight-official + #inputs.stylix.homeManagerModules.stylix + ]; - home = { - stateVersion = "24.05"; - username = "boss"; - homeDirectory = "/home/boss"; - }; + home = { + stateVersion = "24.05"; + username = "boss"; + homeDirectory = "/home/boss"; + }; - # The home.packages option allows you to install Nix packages into your - # environment. - # nixpkgs.config.allowUnfree = true; - home.packages = with pkgs; [ - feh - pass - # spotify - playerctl - libqalculate - libreoffice - hunspell - hunspellDicts.en_AU - logisim-evolution - thunderbird - xdotool - discord - # (discord.override { - # withOpenASAR = true; - # withVencord = true; - # }) - # vesktop - mumble - gimp - bottom - xfce.thunar - mpv - man-pages - man-pages-posix - # (inputs.plover-flake.packages.${system}.plover.with-plugins (ps: with ps;[ - # plover-dict-commands - # plover-console-ui - # plover-controller - # ])) - pavucontrol - unzip zip - appimage-run - # lunar-client - libnotify - xclip - (python3.withPackages (ps: with ps; [ - python-lsp-server - numpy - matplotlib - jupyter - jupytext - pandas - pydot - scikit-learn - nbdev - pillow - ])) - graphviz - alacritty - # nyxt - wireguard-tools - brightnessctl - # inputs.nil.packages.${system}.default - nil - #inputs.polymc.packages.${system}.default - jre8 - #inputs.zen-browser.packages."${system}".default - piper - qbittorrent - # sbcl - superTuxKart - typst - sops - ffmpeg - ghc - # hytale-launcher - # inputs.hytale-launcher.packages.${pkgs.system}.default - #adom - flatpak - deadlock-mod-manager - nh - claude-code-latest - inputs.claude-desktop.packages.${system}.claude-desktop - # openttd - ]; + # The home.packages option allows you to install Nix packages into your + # environment. + # nixpkgs.config.allowUnfree = true; + home.packages = with pkgs; [ + feh + pass + # spotify + playerctl + libqalculate + libreoffice + hunspell + hunspellDicts.en_AU + logisim-evolution + thunderbird + xdotool + discord + # (discord.override { + # withOpenASAR = true; + # withVencord = true; + # }) + # vesktop + mumble + gimp + bottom + xfce.thunar + mpv + man-pages + man-pages-posix + # (inputs.plover-flake.packages.${system}.plover.with-plugins (ps: with ps;[ + # plover-dict-commands + # plover-console-ui + # plover-controller + # ])) + pavucontrol + unzip + zip + appimage-run + # lunar-client + libnotify + xclip + (python3.withPackages ( + ps: with ps; [ + python-lsp-server + numpy + matplotlib + jupyter + jupytext + pandas + pydot + scikit-learn + nbdev + pillow + ] + )) + graphviz + alacritty + # nyxt + wireguard-tools + brightnessctl + # inputs.nil.packages.${system}.default + nil + #inputs.polymc.packages.${system}.default + jre8 + #inputs.zen-browser.packages."${system}".default + piper + qbittorrent + # sbcl + superTuxKart + typst + sops + ffmpeg + ghc + # hytale-launcher + # inputs.hytale-launcher.packages.${pkgs.system}.default + #adom + flatpak + deadlock-mod-manager + nh + claude-code-latest + inputs.claude-desktop.packages.${system}.claude-desktop + # openttd + ]; - nix = { - #package = pkgs.nix; - settings.experimental-features = [ "nix-command" "flakes" ]; - }; + nix = { + #package = pkgs.nix; + settings.experimental-features = [ + "nix-command" + "flakes" + ]; + }; - home.sessionVariables = { - EDITOR = "emacsclient -c"; - MAKEFLAGS = " -j16 "; - MOZ_ENABLE_WAYLAND = 1; - }; + home.sessionVariables = { + EDITOR = "emacsclient -c"; + MAKEFLAGS = " -j16 "; + MOZ_ENABLE_WAYLAND = 1; + }; + programs.home-manager.enable = true; - programs.home-manager.enable = true; + programs.direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv.enable = true; + }; - programs.direnv = { - enable = true; - enableBashIntegration = true; - nix-direnv.enable = true; - }; + services.gpg-agent.enable = true; + services.gpg-agent.pinentry.package = pkgs.pinentry-gtk2; - services.gpg-agent.enable = true; - services.gpg-agent.pinentry.package = pkgs.pinentry-gtk2; + services.dunst = { + enable = true; + settings = { + global = { + follow = "keyboard"; + frame_width = 0; + }; + }; + }; - services.dunst = { - enable = true; - settings = { - global = { - follow = "keyboard"; - frame_width = 0; - }; - }; - }; + programs.obs-studio = { + enable = true; - programs.obs-studio = { - enable = true; + # optional Nvidia hardware acceleration + # package = ( + # pkgs.obs-studio.override { + # cudaSupport = true; + # } + # ); - # optional Nvidia hardware acceleration - # package = ( - # pkgs.obs-studio.override { - # cudaSupport = true; - # } - # ); + plugins = with pkgs.obs-studio-plugins; [ + obs-pipewire-audio-capture + input-overlay + ]; + }; - plugins = with pkgs.obs-studio-plugins; [ - obs-pipewire-audio-capture - input-overlay - ]; - }; + # services.easyeffects.enable = true; - # services.easyeffects.enable = true; + services.pass-secret-service.enable = true; + # Start with the X session rather than at boot, so it inherits DISPLAY/XAUTHORITY + # and gpg can show the GTK pinentry. Otherwise apps get logged out. + systemd.user.services.pass-secret-service = { + Unit.After = [ "graphical-session.target" ]; + Unit.PartOf = lib.mkForce [ "graphical-session.target" ]; + Install.WantedBy = lib.mkForce [ "graphical-session.target" ]; + }; - services.pass-secret-service.enable = true; - # Start with the X session rather than at boot, so it inherits DISPLAY/XAUTHORITY - # and gpg can show the GTK pinentry. Otherwise apps get logged out. - systemd.user.services.pass-secret-service = { - Unit.After = [ "graphical-session.target" ]; - Unit.PartOf = lib.mkForce [ "graphical-session.target" ]; - Install.WantedBy = lib.mkForce [ "graphical-session.target" ]; - }; + programs.firefox = { + enable = true; + }; + programs.zen-browser = { + enable = true; + setAsDefaultBrowser = true; + }; + # programs.nixcord = { + # enable = true; + # }; - programs.firefox = { - enable = true; - }; - programs.zen-browser = { - enable = true; - setAsDefaultBrowser = true; - }; + stylix.targets.spicetify.enable = true; + stylix.targets.firefox.profileNames = [ "default" ]; + stylix.targets.zen-browser.profileNames = [ "default" ]; + # stylix.targets.nixcord.enable = true; - # programs.nixcord = { - # enable = true; - # }; + programs.spicetify = + let + spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; + in + { + enable = true; + spotifyLaunchFlags = "--disable-gpu --disable-software-rasterizer"; + enabledExtensions = with spicePkgs.extensions; [ + fullAppDisplay + powerBar + # addToQueueTop + loopyLoop + ]; + enabledCustomApps = with spicePkgs.apps; [ + newReleases + lyricsPlus + betterLibrary + ]; + # theme = spicePkgs.themes.nightlight; + }; - - stylix.targets.spicetify.enable = true; - stylix.targets.firefox.profileNames = [ "default"]; - stylix.targets.zen-browser.profileNames = [ "default" ]; - # stylix.targets.nixcord.enable = true; - - programs.spicetify = - let - spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; - in - { - enable = true; - spotifyLaunchFlags = "--disable-gpu --disable-software-rasterizer"; - enabledExtensions = with spicePkgs.extensions; [ - fullAppDisplay - powerBar - # addToQueueTop - loopyLoop - ]; - enabledCustomApps = with spicePkgs.apps; [ - newReleases - lyricsPlus - betterLibrary - ]; - # theme = spicePkgs.themes.nightlight; - }; - - - xsession.windowManager.command = lib.mkForce "$@"; - }; + xsession.windowManager.command = lib.mkForce "$@"; + }; } |
