Kieran's opinionated (and probably slightly dumb) nix config

chore: fix all breakage from updating to nixpkgs 25.11

dunkirk.sh b93231df 4285e75a

verified
Changed files
+37 -33
machines
atalanta
moonlark
prattle
tacyon
terebithia
modules
+1 -1
flake.nix
···
nixpkgs.overlays = [
(final: prev: {
unstable = import nixpkgs-unstable {
-
system = final.system;
+
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
+2 -2
machines/atalanta/default.nix
···
pkgs.gcc
pkgs.rustc
pkgs.cargo
-
pkgs.jdk23
+
pkgs.jdk
pkgs.ruby
pkgs.cmake
pkgs.unstable.biome
···
pkgs.nh
pkgs.rustscan
pkgs.vhs
-
inputs.soapdump.packages.${pkgs.system}.default
+
inputs.soapdump.packages.${pkgs.stdenv.hostPlatform.system}.default
];
programs.direnv.enable = true;
+1 -1
machines/atalanta/home/default.nix
···
username = "kierank";
homeDirectory = "/Users/kierank";
packages = with pkgs; [
-
inputs.nixvim.packages.${system}.default
+
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
vesktop
];
};
+9 -9
machines/moonlark/default.nix
···
pkgs.mako
pkgs.unstable.hyprpicker
pkgs.wl-screenrec
-
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
+
inputs.hyprland-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast
pkgs.playerctl
pkgs.libnotify
pkgs.notify-desktop
···
pkgs.gcc
pkgs.rustc
pkgs.cargo
-
pkgs.jdk23
+
pkgs.jdk
pkgs.ruby
pkgs.cmake
pkgs.unstable.biome
···
pkgs.gobang
pkgs.love
#frc
-
inputs.frc-nix.packages.${pkgs.system}.elastic-dashboard
-
inputs.frc-nix.packages.${pkgs.system}.pathplanner
-
inputs.frc-nix.packages.${pkgs.system}.roborioteamnumbersetter
-
inputs.frc-nix.packages.${pkgs.system}.sysid
-
inputs.frc-nix.packages.${pkgs.system}.wpilib-utility
-
inputs.frc-nix.packages.${pkgs.system}.advantagescope
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.elastic-dashboard
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.pathplanner
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.roborioteamnumbersetter
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.sysid
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.wpilib-utility
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.advantagescope
# misc
pkgs.invoice
pkgs.pop
···
pkgs.unstable.kicad-testing
pkgs.zenity
pkgs.atproto-goat
-
inputs.cedarlogic.packages.${pkgs.system}.cedarlogic
+
inputs.cedarlogic.packages.${pkgs.stdenv.hostPlatform.system}.cedarlogic
pkgs.unstable.betaflight-configurator
];
+1 -1
machines/prattle/default.nix
···
enable = true;
package = pkgs.caddy.withPlugins {
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.2" ];
-
hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc=";
+
hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U=";
};
email = "me@dunkirk.sh";
globalConfig = ''
+2 -3
machines/tacyon/default.nix
···
{
pkgs,
inputs,
-
system,
...
}:
{
···
homeDirectory = "/home/pi";
packages = with pkgs; [
-
inputs.nixvim.packages.${system}.default
+
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
# languages
go
···
go-tools
# my apps
-
inputs.ctfd-alerts.packages.${system}.default
+
inputs.ctfd-alerts.packages.${pkgs.stdenv.hostPlatform.system}.default
# Fonts
fira
+1 -1
machines/terebithia/default.nix
···
enable = true;
package = pkgs.caddy.withPlugins {
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.2" ];
-
hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc=";
+
hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U=";
};
email = "me@dunkirk.sh";
globalConfig = ''
+16 -11
modules/home/apps/git.nix
···
config = lib.mkIf config.atelier.shell.git.enable {
programs.git = {
enable = true;
-
userName = "Kieran Klukas";
-
userEmail = "me@dunkirk.sh";
-
aliases = {
-
c = "commit";
-
p = "push";
-
ch = "checkout";
-
pushfwl = "push --force-with-lease --force-if-includes";
-
};
includes = [
{
path = pkgs.writeText "git-user-config" ''
···
condition = "gitdir:~/code/school/";
}
];
-
extraConfig = {
+
settings = {
+
user = {
+
name = "Kieran Klukas";
+
email = "me@dunkirk.sh";
+
signingKey = "~/.ssh/id_rsa.pub";
+
};
+
alias = {
+
c = "commit";
+
p = "push";
+
ch = "checkout";
+
pushfwl = "push --force-with-lease --force-if-includes";
+
};
branch.sort = "-committerdate";
pager.branch = false;
column.ui = "auto";
commit.gpgsign = true;
gpg.format = "ssh";
gpg.ssh.allowedSignersFile = "~/.ssh/allowedSigners";
-
user.signingKey = "~/.ssh/id_rsa.pub";
pull.rebase = true;
push.autoSetupRemote = true;
init.defaultBranch = "main";
};
-
delta.enable = true;
+
};
+
programs.delta = {
+
enable = true;
+
enableGitIntegration = true;
};
programs.gh.enable = true;
programs.lazygit = {
+1 -1
modules/home/apps/helix.nix
···
vscode-langservers-extracted
kotlin-language-server
harper
-
inputs.wakatime-ls.packages.${pkgs.system}.default
+
inputs.wakatime-ls.packages.${pkgs.stdenv.hostPlatform.system}.default
]
++ lib.optionals config.atelier.apps.helix.swift [
sourcekit-lsp
+1 -1
modules/home/apps/spotify.nix
···
config = lib.mkIf config.atelier.apps.spotify.enable {
programs.spicetify =
let
-
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
+
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
enable = true;
+1 -1
modules/home/apps/vscode.nix
···
rust-lang.rust-analyzer
dustypomerleau.rust-syntax
catppuccin.catppuccin-vsc
-
inputs.frc-nix.packages.${pkgs.system}.vscode-wpilib
+
inputs.frc-nix.packages.${pkgs.stdenv.hostPlatform.system}.vscode-wpilib
];
userSettings = {
"editor.semanticHighlighting.enabled" = true;
+1 -1
modules/home/system/shell.nix
···
now
ghostty-setup
pkgs.unstable.wakatime-cli
-
inputs.terminal-wakatime.packages.${pkgs.system}.default
+
inputs.terminal-wakatime.packages.${pkgs.stdenv.hostPlatform.system}.default
unzip
dog
dust