1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-05-30 08:37:01 +02:00

Compare commits

..

3 commits

Author SHA1 Message Date
8c109011cc
bump home-manager versions 2026-04-01 18:03:02 +02:00
2a39aafb44
update everything 2026-04-01 17:59:59 +02:00
082a4ad541
yep 2026-04-01 16:50:27 +02:00
11 changed files with 100 additions and 116 deletions

127
flake.lock generated
View file

@ -52,11 +52,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1751438379, "lastModified": 1775029908,
"narHash": "sha256-0u0rFAkdUIexx8r7+TkGjUsmauK6kKQ/RtE7vCEwLLE=", "narHash": "sha256-QuPn+EN/097aBLeSqbQ7vOwc5TSOb68bAxg1+mknfmw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "9d776d59084355be7d187a047f64c36664249c4d", "rev": "380f1969f440e683333af5746caac76811b4a1a8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -135,25 +135,7 @@
}, },
"flake-utils_3": { "flake-utils_3": {
"inputs": { "inputs": {
"systems": "systems_4" "systems": "systems_5"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_4": {
"inputs": {
"systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -221,11 +203,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748529677, "lastModified": 1775047159,
"narHash": "sha256-MJEX3Skt5EAIs/aGHD8/aXXZPcceMMHheyIGSjvxZN0=", "narHash": "sha256-UWM4VZvfKaPwA9FMu7iZha5YAE8vsEtUazk+rFxmbTY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "da282034f4d30e787b8a10722431e8b650a907ef", "rev": "1ce9e62690dfdd7e76bd266ccb9a887778410eb2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -331,11 +313,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748149228, "lastModified": 1775037210,
"narHash": "sha256-mmonYFesFo42UUS49Hd0bcbVJRWX/aHBCDYUkkvylf4=", "narHash": "sha256-KM2WYj6EA7M/FVZVCl3rqWY+TFV5QzSyyGE2gQxeODU=",
"owner": "nix-darwin", "owner": "nix-darwin",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "a9939228f661df370c4094fe85f683e45d761dbe", "rev": "06648f4902343228ce2de79f291dd5a58ee12146",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -365,16 +347,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767364772, "lastModified": 1774709303,
"narHash": "sha256-fFUnEYMla8b7UKjijLnMe+oVFOz6HjijGGNS1l7dYaQ=", "narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "16c7794d0a28b5a37904d55bcca36003b9109aaa", "rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixpkgs-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -427,39 +409,23 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1755186698,
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": { "nixpkgs_3": {
"locked": {
"lastModified": 1755186698,
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1755186698,
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1769789167, "lastModified": 1769789167,
"narHash": "sha256-kKB3bqYJU5nzYeIROI82Ef9VtTbu4uA3YydSk/Bioa8=", "narHash": "sha256-kKB3bqYJU5nzYeIROI82Ef9VtTbu4uA3YydSk/Bioa8=",
@ -503,7 +469,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_5", "systems": "systems_4",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
@ -522,8 +488,8 @@
}, },
"readlater-bot": { "readlater-bot": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1772524468, "lastModified": 1772524468,
@ -551,7 +517,7 @@
"niri": "niri", "niri": "niri",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew", "nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs",
"noctalia": "noctalia", "noctalia": "noctalia",
"noctalia-qs": "noctalia-qs", "noctalia-qs": "noctalia-qs",
"readlater-bot": "readlater-bot" "readlater-bot": "readlater-bot"
@ -560,11 +526,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1751377982, "lastModified": 1774948198,
"narHash": "sha256-eqf9Bxe3uBNG4xwcteIKt855wHuT+j6orPiABQ83dDw=", "narHash": "sha256-oVPo0/3CXM/5uFKu1ZwP7osSV2tiQIFU09Y3UzNbm7g=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "aa16885e6282a540ecfbffa0d886ed9904b425bc", "rev": "63b3eff38ef1c216480147dd53b0e4365d55f269",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -620,21 +586,6 @@
} }
}, },
"systems_4": { "systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_5": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@ -649,7 +600,7 @@
"type": "github" "type": "github"
} }
}, },
"systems_6": { "systems_5": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -666,7 +617,7 @@
}, },
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1772660329, "lastModified": 1772660329,

View file

@ -24,7 +24,7 @@
home-manager = { home-manager = {
backupFileExtension = "home.bak"; backupFileExtension = "home.bak";
users.central.home = { users.central.home = {
stateVersion = "25.11"; stateVersion = "26.05";
homeDirectory = "/Users/central"; homeDirectory = "/Users/central";
}; };
}; };

View file

@ -82,7 +82,7 @@
home = { home = {
username = "thegeneralist"; username = "thegeneralist";
homeDirectory = "/home/thegeneralist"; homeDirectory = "/home/thegeneralist";
stateVersion = "25.11"; stateVersion = "26.05";
}; };
}; };
}; };

View file

@ -24,7 +24,7 @@
home-manager = { home-manager = {
backupFileExtension = "home.bak"; backupFileExtension = "home.bak";
users.thegeneralist.home = { users.thegeneralist.home = {
stateVersion = "25.11"; stateVersion = "26.05";
homeDirectory = "/Users/thegeneralist"; homeDirectory = "/Users/thegeneralist";
}; };
}; };

View file

@ -37,7 +37,7 @@
users.thegeneralist.home = { users.thegeneralist.home = {
username = "thegeneralist"; username = "thegeneralist";
homeDirectory = "/home/thegeneralist"; homeDirectory = "/home/thegeneralist";
stateVersion = "25.11"; stateVersion = "26.05";
}; };
}; };

View file

@ -1,31 +1,64 @@
{ lib, pkgs, ... }: let { lib, pkgs, ... }:
let
inherit (lib) getExe; inherit (lib) getExe;
in { in
{
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnupg gnupg
difftastic
]; ];
home-manager.sharedModules = [{ home-manager.sharedModules = [
{
programs.difftastic = {
enable = true;
options.background = "dark";
};
}
{
programs = { programs = {
gpg.enable = true; gpg.enable = true;
gh.enable = true; gh.enable = true;
gh-dash.enable = true; gh-dash.enable = true;
difftastic.git.enable = true;
git = { git = {
enable = true; enable = true;
userName = "TheGeneralist";
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
lfs.enable = true; lfs.enable = true;
extraConfig = { settings = {
user.name = "TheGeneralist";
user.email = "180094941+thegeneralist01@users.noreply.github.com";
user.signingKey = "~/.ssh/id_ed25519";
commit.gpgSign = true; commit.gpgSign = true;
tag.gpgSign = true; tag.gpgSign = true;
gpg.format = "ssh"; gpg.format = "ssh";
gpg.program = getExe pkgs.gnupg; gpg.program = getExe pkgs.gnupg;
user.signingKey = "~/.ssh/id_ed25519";
diff.algorithm = "histogram";
diff.colorMoved = "default";
pull.rebase = true;
push.autoSetupRemote = true;
merge.conflictStyle = "zdiff3";
rebase.autoSquash = true;
rebase.autoStash = true;
rebase.updateRefs = true;
rerere.enabled = true;
fetch.fsckObjects = true;
receive.fsckObjects = true;
transfer.fsckobjects = true;
# https://bernsteinbear.com/git
alias.recent = "! git branch --sort=-committerdate --format=\"%(committerdate:relative)%09%(refname:short)\" | head -10";
}; };
}; };
}; };
}]; }
];
} }

View file

@ -35,7 +35,7 @@ in
black black
nodejs nodejs
nodePackages."sass" dart-sass
pnpm_9 pnpm_9
] ]
++ optionals config.onLinux [ ++ optionals config.onLinux [

View file

@ -32,7 +32,7 @@ in {
builders-use-substitutes = true; builders-use-substitutes = true;
}; };
nix.package = pkgs.nixVersions.nix_2_30; nix.package = pkgs.nixVersions.latest;
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.buildMachines = if (config.networking.hostName != "thegeneralist-central") then [{ nix.buildMachines = if (config.networking.hostName != "thegeneralist-central") then [{

View file

@ -23,7 +23,7 @@
# for nil # for nil
nixd nixd
nixfmt-rfc-style nixfmt
libiconv libiconv

View file

@ -21,7 +21,7 @@ let
unstable = import (builtins.fetchTarball { unstable = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"; url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
sha256 = if (config.isServer) then "sha256:0fgmdh1j6qrx64wq8wk2hry2rjh3rkvz9pch29l8zn49nlndvxy2" else (if (config.onLinux) then "sha256:03plivnr4cg0h8v7djf9g2jra09r45pmdiirmy4lvl2n1d4yb7ac" else "sha256:16xi1yijq2ccbp8254zc0b5fgz0igxvyf4yn349wj2ggk4cl6dgn"); sha256 = if (config.isServer) then "sha256:0fgmdh1j6qrx64wq8wk2hry2rjh3rkvz9pch29l8zn49nlndvxy2" else (if (config.onLinux) then "sha256:03plivnr4cg0h8v7djf9g2jra09r45pmdiirmy4lvl2n1d4yb7ac" else "sha256:16xi1yijq2ccbp8254zc0b5fgz0igxvyf4yn349wj2ggk4cl6dgn");
}) { system = pkgs.system; }; }) { system = pkgs.stdenv.hostPlatform.system; };
package = unstable.nushell; package = unstable.nushell;
in in
{ {

View file

@ -16,6 +16,6 @@ in {
obsidian obsidian
tor-browser; tor-browser;
}) else []) ++ (if (!config.isServer) then [ }) else []) ++ (if (!config.isServer) then [
inputs.helium.packages.${pkgs.system}.default inputs.helium.packages.${pkgs.stdenv.hostPlatform.system}.default
] else []); ] else []);
} }