Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Updates for macos, hostname aware vim background

+137 -12
+8 -2
flake.nix
··· 5 5 # Specify the source of Home Manager and Nixpkgs. 6 6 nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; 7 7 nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; 8 - nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; 8 + nixos-wsl = { 9 + url = "github:nix-community/NixOS-WSL/main"; 10 + inputs.nixpkgs.follows = "nixpkgs"; 11 + }; 9 12 determinite = { 10 13 url = "https://flakehub.com/f/DeterminateSystems/determinate/3"; 11 14 inputs.nixpkgs.follows = "nixpkgs"; ··· 14 17 url = "github:nix-community/home-manager/release-25.11"; 15 18 inputs.nixpkgs.follows = "nixpkgs"; 16 19 }; 17 - pre-commit-hooks.url = "github:cachix/git-hooks.nix"; 20 + pre-commit-hooks = { 21 + url = "github:cachix/git-hooks.nix"; 22 + inputs.nixpkgs.follows = "nixpkgs"; 23 + }; 18 24 agenix.url = "github:ryantm/agenix"; 19 25 }; 20 26
+30
ghostty/config
··· 1 + #font-size = 13 2 + font-family = TX-02 Medium 3 + theme = flat-remix-light 4 + #theme = dark:catppuccin-frappe,light:catppuccin-latte 5 + shell-integration = fish 6 + link-url = true 7 + clipboard-read = allow 8 + 9 + #window-decoration = true 10 + 11 + font-feature = calt 12 + font-feature = ccmp 13 + font-feature = locl 14 + font-feature = ordn 15 + font-feature = mark 16 + font-feature = mkmk 17 + #font-feature = aalt 18 + #font-feature = ss01 19 + #font-feature = ss02 20 + #font-feature = ss03 21 + #font-feature = ss04 22 + #font-feature = ss05 23 + #font-feature = ss06 24 + #font-feature = ss07 25 + #font-feature = ss08 26 + 27 + custom-shader = ~/.config/ghostty/shaders/galaxy.glsl 28 + #custom-shader = ~/.config/ghostty/shaders/tft.glsl 29 + #custom-shader = ~/.config/ghostty/shaders/retro-terminal.glsl 30 + #custom-shader = ~/.config/ghostty/shaders/bettercrt.glsl
+42
ghostty/themes/flat-remix-light
··· 1 + # standard colors 2 + # black 3 + palette = 0=#404040 4 + # red 5 + palette = 1=#d41919 6 + # green 7 + palette = 2=#12715f 8 + # yellow 9 + palette = 3=#fea44c 10 + # blue 11 + palette = 4=#367bf0 12 + # purple 13 + palette = 5=#8c42ab 14 + # cyan 15 + palette = 6=#4aaee6 16 + # white 17 + palette = 7=#ffffff 18 + 19 + # intense colors 20 + # black (grey) 21 + palette = 8=#737680 22 + # red 23 + palette = 9=#811035 24 + # green 25 + palette = 10=#23bac2 26 + # yellow 27 + palette = 11=#fe7171 28 + # blue 29 + palette = 12=#54bd8e 30 + # purple 31 + palette = 13=#d41919 32 + # cyan 33 + palette = 14=#367bf0 34 + # white 35 + palette = 15=#aaaaaa 36 + 37 + background = #e4e4e7 38 + foreground = #404040 39 + cursor-color = #272a34 40 + cursor-text = #b8174c 41 + selection-background = #737680 42 + selection-foreground = #ffffff
+47 -8
host-specific/aleister-noah.nix
··· 16 16 "nix-command" 17 17 "flakes" 18 18 ]; 19 + trusted-public-keys = [ 20 + "misaki.packetlost.dev:y5Z/utaVBozpL0UAbUQDWLjpm2sVMOoKzyG76n/167A=" 21 + ]; 19 22 }; 20 23 }; 21 24 home.packages = with pkgs; [ 22 25 # main tool 23 26 direnv 27 + #fish 24 28 tree 25 29 btop 26 30 # Apple Silicon top monitoring ··· 57 61 unstable.rc 58 62 unstable.glow 59 63 unstable.vis 64 + # Tcl/Tk 65 + #unstable.tcl 66 + #unstable.tk 67 + #unstable.tclPackages.tclx 60 68 nodejs 61 69 62 70 # Dev tools ··· 64 72 unstable.ruff 65 73 # Rust REPL 66 74 evcxr 75 + #unstable.gcc 76 + #unstable.clang 77 + # Swift stuff 78 + #swift 79 + #swift-format 67 80 # Swift LSP 81 + #sourcekit-lsp 68 82 unstable.go 69 83 unstable.gopls 70 84 gnumake 85 + #unstable.babashka 71 86 #unstable.ccls 72 - unstable.cljfmt 73 87 unstable.clojure 88 + unstable.cljfmt 74 89 unstable.clojure-lsp 75 - unstable.babashka 76 90 unstable.janet 77 91 unstable.jpm 78 92 unstable.fennel-ls ··· 81 95 unstable.crystalline 82 96 cmake 83 97 ctags 98 + #kotlin 99 + #nodejs 100 + #yarn 101 + #node2nix 102 + #opam 103 + # Scala stuff 104 + #unstable.scala_3 105 + #unstable.scalafmt 106 + #unstable.metals 107 + # Scala / Java build tool 108 + #unstable.sbt 109 + # Haskell 110 + #cabal-install 111 + #ghc 84 112 85 113 # Lua 86 114 luarocks ··· 88 116 unstable.lua-language-server 89 117 luaformatter 90 118 libressl 119 + # Erlang 120 + #erlang 121 + #elixir 91 122 unstable.nil # nix language server 92 123 unstable.nixd 124 + #typescript 125 + # This is currently broken 126 + #vscode-langservers-extracted 93 127 scdoc 94 - dockerfile-language-server 128 + #dockerfile-language-server-nodejs 95 129 # BROKEN 96 - yaml-language-server 130 + #yaml-language-server 97 131 mkcert 98 132 natscli 99 133 python314 100 134 unstable.uv 101 135 sqlite 102 - unstable.gleam 136 + #unstable.gleam 103 137 #unstable.rebar3 104 138 #unstable.flyctl 105 139 unstable.bun 106 140 unstable.gh 107 - #unstable.kraft 108 - #unstable.doctl 141 + unstable.kraft 142 + unstable.doctl 143 + 144 + # GUI tools 145 + zathura 146 + unstable.opencode 109 147 110 148 # Python dev tools 111 149 #unstable.pyright 112 150 unstable.basedpyright 113 151 unstable.python313Packages.python-lsp-server 114 152 unstable.python313Packages.python-lsp-ruff 153 + unstable.llm 115 154 116 155 # JavaScript tools 117 156 #typescript-language-server ··· 140 179 programs.pistol.enable = true; 141 180 programs.home-manager.enable = true; 142 181 programs.neovim = { 143 - #package = unstable.neovim-unwrapped; 182 + package = unstable.neovim-unwrapped; 144 183 enable = true; 145 184 defaultEditor = true; 146 185 withNodeJs = false;
+10 -2
nvim/init.lua
··· 7 7 -- Config for Nord, which I usually use 8 8 -- vim.g.nord_italic = false 9 9 -- vim.g.nord_bold = false 10 - --vim.opt.background = "light" 11 - vim.opt.background = "dark" 10 + local known_hosts = { 11 + ["aleister.packetlost.dev"] = "light", 12 + ["accelerator"] = "light" 13 + } 14 + local background = known_hosts[vim.loop.os_gethostname()] 15 + if not background then 16 + background = "dark" 17 + end 18 + vim.opt.background = background 19 + --vim.opt.background = "dark" 12 20 13 21 -- Formatting and vim config 14 22 vim.opt.expandtab = true