diff --git a/flake.nix b/flake.nix index acca913..2c005ec 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,10 @@ # Specify the source of Home Manager and Nixpkgs. nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; - nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; + nixos-wsl = { + url = "github:nix-community/NixOS-WSL/main"; + inputs.nixpkgs.follows = "nixpkgs"; + }; determinite = { url = "https://flakehub.com/f/DeterminateSystems/determinate/3"; inputs.nixpkgs.follows = "nixpkgs"; @@ -14,7 +17,10 @@ url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; - pre-commit-hooks.url = "github:cachix/git-hooks.nix"; + pre-commit-hooks = { + url = "github:cachix/git-hooks.nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; agenix.url = "github:ryantm/agenix"; }; diff --git a/ghostty/config b/ghostty/config new file mode 100644 index 0000000..2c15740 --- /dev/null +++ b/ghostty/config @@ -0,0 +1,30 @@ +#font-size = 13 +font-family = TX-02 Medium +theme = flat-remix-light +#theme = dark:catppuccin-frappe,light:catppuccin-latte +shell-integration = fish +link-url = true +clipboard-read = allow + +#window-decoration = true + +font-feature = calt +font-feature = ccmp +font-feature = locl +font-feature = ordn +font-feature = mark +font-feature = mkmk +#font-feature = aalt +#font-feature = ss01 +#font-feature = ss02 +#font-feature = ss03 +#font-feature = ss04 +#font-feature = ss05 +#font-feature = ss06 +#font-feature = ss07 +#font-feature = ss08 + +custom-shader = ~/.config/ghostty/shaders/galaxy.glsl +#custom-shader = ~/.config/ghostty/shaders/tft.glsl +#custom-shader = ~/.config/ghostty/shaders/retro-terminal.glsl +#custom-shader = ~/.config/ghostty/shaders/bettercrt.glsl diff --git a/ghostty/themes/flat-remix-light b/ghostty/themes/flat-remix-light new file mode 100644 index 0000000..92d66bd --- /dev/null +++ b/ghostty/themes/flat-remix-light @@ -0,0 +1,42 @@ +# standard colors +# black +palette = 0=#404040 +# red +palette = 1=#d41919 +# green +palette = 2=#12715f +# yellow +palette = 3=#fea44c +# blue +palette = 4=#367bf0 +# purple +palette = 5=#8c42ab +# cyan +palette = 6=#4aaee6 +# white +palette = 7=#ffffff + +# intense colors +# black (grey) +palette = 8=#737680 +# red +palette = 9=#811035 +# green +palette = 10=#23bac2 +# yellow +palette = 11=#fe7171 +# blue +palette = 12=#54bd8e +# purple +palette = 13=#d41919 +# cyan +palette = 14=#367bf0 +# white +palette = 15=#aaaaaa + +background = #e4e4e7 +foreground = #404040 +cursor-color = #272a34 +cursor-text = #b8174c +selection-background = #737680 +selection-foreground = #ffffff diff --git a/host-specific/aleister-noah.nix b/host-specific/aleister-noah.nix index 04637b9..06b7080 100644 --- a/host-specific/aleister-noah.nix +++ b/host-specific/aleister-noah.nix @@ -16,11 +16,15 @@ "nix-command" "flakes" ]; + trusted-public-keys = [ + "misaki.packetlost.dev:y5Z/utaVBozpL0UAbUQDWLjpm2sVMOoKzyG76n/167A=" + ]; }; }; home.packages = with pkgs; [ # main tool direnv + #fish tree btop # Apple Silicon top monitoring @@ -57,6 +61,10 @@ unstable.rc unstable.glow unstable.vis + # Tcl/Tk + #unstable.tcl + #unstable.tk + #unstable.tclPackages.tclx nodejs # Dev tools @@ -64,15 +72,21 @@ unstable.ruff # Rust REPL evcxr + #unstable.gcc + #unstable.clang + # Swift stuff + #swift + #swift-format # Swift LSP + #sourcekit-lsp unstable.go unstable.gopls gnumake + #unstable.babashka #unstable.ccls - unstable.cljfmt unstable.clojure + unstable.cljfmt unstable.clojure-lsp - unstable.babashka unstable.janet unstable.jpm unstable.fennel-ls @@ -81,6 +95,20 @@ unstable.crystalline cmake ctags + #kotlin + #nodejs + #yarn + #node2nix + #opam + # Scala stuff + #unstable.scala_3 + #unstable.scalafmt + #unstable.metals + # Scala / Java build tool + #unstable.sbt + # Haskell + #cabal-install + #ghc # Lua luarocks @@ -88,30 +116,41 @@ unstable.lua-language-server luaformatter libressl + # Erlang + #erlang + #elixir unstable.nil # nix language server unstable.nixd + #typescript + # This is currently broken + #vscode-langservers-extracted scdoc - dockerfile-language-server + #dockerfile-language-server-nodejs # BROKEN - yaml-language-server + #yaml-language-server mkcert natscli python314 unstable.uv sqlite - unstable.gleam + #unstable.gleam #unstable.rebar3 #unstable.flyctl unstable.bun unstable.gh - #unstable.kraft - #unstable.doctl + unstable.kraft + unstable.doctl + + # GUI tools + zathura + unstable.opencode # Python dev tools #unstable.pyright unstable.basedpyright unstable.python313Packages.python-lsp-server unstable.python313Packages.python-lsp-ruff + unstable.llm # JavaScript tools #typescript-language-server @@ -140,7 +179,7 @@ programs.pistol.enable = true; programs.home-manager.enable = true; programs.neovim = { - #package = unstable.neovim-unwrapped; + package = unstable.neovim-unwrapped; enable = true; defaultEditor = true; withNodeJs = false; diff --git a/nvim/init.lua b/nvim/init.lua index fb4dbe9..eb25d3c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -7,8 +7,16 @@ require("plugins") -- Config for Nord, which I usually use -- vim.g.nord_italic = false -- vim.g.nord_bold = false ---vim.opt.background = "light" -vim.opt.background = "dark" +local known_hosts = { + ["aleister.packetlost.dev"] = "light", + ["accelerator"] = "light" +} +local background = known_hosts[vim.loop.os_gethostname()] +if not background then + background = "dark" +end +vim.opt.background = background +--vim.opt.background = "dark" -- Formatting and vim config vim.opt.expandtab = true