19 Commits
Author SHA1 Message Date
Armel van Ravels f5f6177f88 Move ai-usage to module 2026-10-12 09:38:25 +02:00
armel e4408441b2 Use https for flake 2026-10-09 20:52:49 +02:00
Armel van Ravels 01d3112e94 Add ai usage 2026-10-09 15:50:48 +02:00
Armel van Ravels 520aadb924 Drop specialisation and devenv update and flake update 2026-10-06 09:14:56 +02:00
armel 376e328568 nix flake update 2026-09-29 20:47:02 +02:00
armel 53f1e37dcd add openrct2 jazz2 and opencode 2026-09-29 16:05:27 +02:00
Armel van Ravels 37dbf7d436 nix flake update 2026-09-24 10:49:33 +02:00
Armel van Ravels 49fafdb0c5 Add git churn 2026-09-22 16:35:33 +02:00
Armel van Ravels ca169d825b Add cursor CLI to work machine 2026-09-15 09:05:56 +02:00
armel 816daf4a62 nix flake pdate and drop mtp fix as we finally have libmtp 1.1.23 2026-09-14 22:54:33 +02:00
Armel van Ravels fc74a03ff9 devenv update 2026-09-14 09:20:38 +02:00
Armel van Ravels efd4918fd1 nix flake update 2026-09-14 09:19:04 +02:00
Armel van Ravels 6a7a0ed55a Add cursor cli 2026-09-14 09:15:30 +02:00
armel 2a5149308d Merge pull request 'Pin Linux Kernel for gandalf to 7.1' (#19) from chore/gandalf-pin-linux-kernel into master
Reviewed-on: #19
2026-09-08 23:17:19 +02:00
armel 81bfbb0a33 Pin Linux Kernel for gandalf to 7.1 2026-09-08 23:15:16 +02:00
Armel van Ravels 0266dd19d8 nix flake update and vscode changes 2026-09-07 10:53:04 +02:00
Armel van Ravels 4668a566ae add dev container 2026-09-03 08:44:13 +02:00
Armel van Ravels f81a746ccc devenv update 2026-08-21 16:40:30 +02:00
Armel van Ravels c66e751738 nix flake update 2026-08-21 09:17:12 +02:00
17 changed files with 145 additions and 89 deletions

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{
"customizations": {
"vscode": {
"extensions": [
"mkhl.direnv"
]
},
"zed": {
"extensions": []
}
},
"image": "ghcr.io/cachix/devenv/devcontainer:latest",
"overrideCommand": false,
"updateContentCommand": "devenv test"
}
+15 -15
View File
@@ -3,11 +3,11 @@
"devenv": { "devenv": {
"locked": { "locked": {
"dir": "src/modules", "dir": "src/modules",
"lastModified": 1786490576, "lastModified": 1790701375,
"narHash": "sha256-TH5K1TBi5YNUEEVXoPe99Wzy6XOxsuzkypEJofWc/fU=", "narHash": "sha256-0FpLHIRDYiyo3EMTnMQSobZQknZaa3JuWo6vmMCK76o=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "5706f600b4b6799d5dade8602f85cfd2e060b2f3", "rev": "fe20b5cba7ab5e93ae73f956a8d3efc50e1753f4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -41,11 +41,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1784288435, "lastModified": 1790500375,
"narHash": "sha256-ReRHaLgr/uVqdD8afFSn+myXIfpHeOhP0yYe0TJqAA8=", "narHash": "sha256-XN3sDtn8TU9hAc9xqZ+SqRB/HHm2wjxM6aSWYLJU+oo=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "43b3c1ab9d40fb1dbb008f451988a91e375825e9", "rev": "a0e4241b51206fbcbf52fd322eb5f0cd80f153c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -59,11 +59,11 @@
"nixpkgs-src": "nixpkgs-src" "nixpkgs-src": "nixpkgs-src"
}, },
"locked": { "locked": {
"lastModified": 1786472144, "lastModified": 1789506231,
"narHash": "sha256-W1wLGKZKGtnTWGRFgjbsVQleuO6jgMweaSAbFltLkN0=", "narHash": "sha256-vNkJbtmqyBfFhn/HnzQo4ROuoyYWuy/allqTfJb4kMY=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv-nixpkgs", "repo": "devenv-nixpkgs",
"rev": "ea21d30f66a051c7cd750692a2af8d56e0ec4bfb", "rev": "c2f38fe7f9e04d9aadd354d380f2bd40531d9737",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -76,11 +76,11 @@
"nixpkgs-src": { "nixpkgs-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1786098110, "lastModified": 1789370336,
"narHash": "sha256-shi1tjDhCGGd0kIgVPNY03V8NBWSTzhMSFDb7IqSoec=", "narHash": "sha256-6RSEDHIWQtesQKWSu5qRai8L2h4KgCgMEfJHstW99G4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "afb4584a80bbf779ce0f691509ff902d188c2b3d", "rev": "c7def046b9a883d46974757852106483d741586f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -105,11 +105,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1785945821, "lastModified": 1791203292,
"narHash": "sha256-NLSyTCW4K4ofhNBllt3omPasm6QpralXH1DBZOc91Dw=", "narHash": "sha256-vuzVwvjeucSnwKwMBpyP8r5IzdrMKCHEdwTrRFwUN7I=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "ae7910970dddc408fe6ab1c8e4b277bb21d72dc0", "rev": "03d8ee1bcbc8f9638907bb79edb9673151d0e22b",
"type": "github" "type": "github"
}, },
"original": { "original": {
+2
View File
@@ -5,6 +5,8 @@
}: }:
{ {
devcontainer.enable = true;
treefmt.enable = true; treefmt.enable = true;
treefmt.config.programs.nixpkgs-fmt.enable = true; treefmt.config.programs.nixpkgs-fmt.enable = true;
Generated
+33 -12
View File
@@ -1,5 +1,25 @@
{ {
"nodes": { "nodes": {
"ai-usage": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1791553507,
"narHash": "sha256-Zrzq6ISt8BAG5ArLJP6qJTIn5YgAPZ1jL2lLlxjpFaM=",
"ref": "refs/heads/master",
"rev": "69605d7e5414786cfe004e93e392f8a90ac1638c",
"revCount": 1,
"type": "git",
"url": "https://git.een.ninja/armel/ai-usage.git"
},
"original": {
"type": "git",
"url": "https://git.een.ninja/armel/ai-usage.git"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -7,11 +27,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1785119570, "lastModified": 1790996401,
"narHash": "sha256-Rgs2xKnGLFWQscxUaXX07oyZeuMDOHEbqDOsgliLFGM=", "narHash": "sha256-f+kOxEmOUnQazVAmGg0i8hzwgd1kX/geY+k/Dpheye8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d4fd24667c8cbef124bb70a20380cab75ec8474d", "rev": "db7d5e2332710f5abb088f6b5de927d7f9511b35",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -23,11 +43,11 @@
}, },
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1783368811, "lastModified": 1790428548,
"narHash": "sha256-0H8jDwR4Kegb3heaTrH1ftbgKfZVDT8JE+46uXxDy/Q=", "narHash": "sha256-OsZ/I7v3ArCrk0XOUvkiU1dFtGtE1qZTHRGjvBXIKUU=",
"owner": "gmodena", "owner": "gmodena",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"rev": "20d42f0ee98c9fe9f85e8d1de474f1409ed10d05", "rev": "f1f045fc8b35ff59f88982c1752d3f3a42ca6a61",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -38,11 +58,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1786430034, "lastModified": 1791426274,
"narHash": "sha256-Vux08kA5PICwS2sViCMfwVLAHNoH8TkKAeBo25LjpMI=", "narHash": "sha256-MWhktfFtFE8Jl7bf9Pkp7TR5MSdYCjCswSo0Gkb4ywc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "70cc4559b10a6062b05ff1af17e0add065ccaed9", "rev": "7c8764b7c7b09b34f632464276218ef9090eaa11",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -54,11 +74,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1786348146, "lastModified": 1791366222,
"narHash": "sha256-we5zDEFfn8TgzeWKjKDMIjeQZ59omEPl23NIF+13/ys=", "narHash": "sha256-o0N4g6uSOIppU7CGToNvGlMf5vC+B6O6ukFHKY/TKOY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d482ef84049d9b7276b83a06e4e4d76983830097", "rev": "39ad350a0602fa0a58a544344e3e9187526ea45c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -70,6 +90,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"ai-usage": "ai-usage",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
+5
View File
@@ -19,6 +19,11 @@
url = "github:gmodena/nix-flatpak"; url = "github:gmodena/nix-flatpak";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
ai-usage = {
url = "git+https://git.een.ninja/armel/ai-usage.git";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
# This strange syntax is a workaround for the intentional limitations of `flake.nix` files. # This strange syntax is a workaround for the intentional limitations of `flake.nix` files.
+8 -4
View File
@@ -17,7 +17,7 @@
../../modules/matrix.nix ../../modules/matrix.nix
../../modules/kdenlive.nix ../../modules/kdenlive.nix
../../modules/audacity.nix ../../modules/audacity.nix
../../modules/ollama.nix #../../modules/ollama.nix
../../modules/wireguard.nix ../../modules/wireguard.nix
../../modules/qbittorrent.nix ../../modules/qbittorrent.nix
../../modules/gimp.nix ../../modules/gimp.nix
@@ -31,10 +31,14 @@
../../modules/discord.nix ../../modules/discord.nix
../../modules/lazygit.nix ../../modules/lazygit.nix
../../modules/yazi.nix ../../modules/yazi.nix
./mtp-fix.nix ../../modules/cursor-cli.nix
../../modules/openrct2.nix
../../modules/jazz2.nix
../../modules/opencode.nix
../../modules/git-churn.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; # boot.kernelPackages = pkgs.linuxPackages_7_2;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@@ -42,7 +46,7 @@
networking.hostName = "gandalf"; networking.hostName = "gandalf";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.nameservers = [ networking.nameservers = [
"192.168.68.56" # "192.168.68.56"
"1.1.1.1" "1.1.1.1"
"8.8.8.8" "8.8.8.8"
]; ];
-30
View File
@@ -1,30 +0,0 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [
(
final: prev:
let
targetVersion = "1.1.23";
in
{
libmtp =
if builtins.compareVersions prev.libmtp.version targetVersion >= 0 then
prev.libmtp
else
prev.libmtp.overrideAttrs (_: {
version = targetVersion;
src = final.fetchFromGitHub {
owner = "libmtp";
repo = "libmtp";
rev = "v${targetVersion}";
hash = "sha256-FlPj9PEeOAWabU11dFTzDgY9TBbgmJclbeL0iULYw6A=";
};
patches = [ ];
});
}
)
];
}
+5 -23
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, home-manager, pkgs, ... }:
{ {
imports = [ imports = [
@@ -29,6 +29,9 @@
../../modules/yazi.nix ../../modules/yazi.nix
../../modules/bubblewrap.nix ../../modules/bubblewrap.nix
../../modules/socat.nix ../../modules/socat.nix
../../modules/cursor-cli.nix
../../modules/git-churn.nix
../../modules/ai-usage.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@@ -60,28 +63,6 @@
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
specialisation = {
"top floor".configuration = {
home-manager.users.avravels.home.hyprland.monitors = [
{
output = "DP-3";
mode = "2560x1440";
position = "0x0";
}
{
output = "DP-1";
mode = "2560x1440";
position = "2560x0";
}
{
output = "eDP-1";
mode = "1920x1200";
position = "5120x0";
}
];
};
};
networking.hosts = { networking.hosts = {
"127.0.0.1" = [ "127.0.0.1" = [
"local.wormundco.de" "local.wormundco.de"
@@ -92,5 +73,6 @@
"149.210.174.226" = [ "kindertelefoon" ]; "149.210.174.226" = [ "kindertelefoon" ];
}; };
system.stateVersion = "25.11"; # Did you read the comment? system.stateVersion = "25.11"; # Did you read the comment?
} }
+1
View File
@@ -0,0 +1 @@
+8
View File
@@ -0,0 +1,8 @@
{ config, pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
cursor-cli
];
}
+23
View File
@@ -0,0 +1,23 @@
{ pkgs, ... }:
{
environment.systemPackages = [
(pkgs.writeShellApplication {
name = "git-churn";
runtimeInputs = with pkgs; [
git
coreutils
gnugrep
];
text = ''
git log -M -C --name-only --format='format:' "$@" |
sort |
grep -v '^$' |
uniq -c |
sort -n
'';
})
];
}
+2 -2
View File
@@ -1,11 +1,11 @@
{ pkgs, pkgsUnstable, ... }: { pkgs, ai-usage, pkgsUnstable, ... }:
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { extraSpecialArgs = {
inherit pkgsUnstable; inherit pkgsUnstable ai-usage;
}; };
users.avravels = import home/home.nix; users.avravels = import home/home.nix;
+2 -2
View File
@@ -8,7 +8,6 @@ let
mkhl.direnv mkhl.direnv
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc
bmewburn.vscode-intelephense-client bmewburn.vscode-intelephense-client
continue.continue
vue.volar vue.volar
ms-vscode-remote.remote-containers ms-vscode-remote.remote-containers
(pkgs.vscode-utils.buildVscodeMarketplaceExtension { (pkgs.vscode-utils.buildVscodeMarketplaceExtension {
@@ -49,12 +48,12 @@ let
"editor.lineNumbers" = "relative"; "editor.lineNumbers" = "relative";
"workbench.colorTheme" = "Catppuccin Mocha"; "workbench.colorTheme" = "Catppuccin Mocha";
"workbench.editor.enablePreview" = false; "workbench.editor.enablePreview" = false;
"workbench.activityBar.orientation" = "vertical";
"direnv.restart.automatic" = true; "direnv.restart.automatic" = true;
"terminal.integrated.defaultProfile.linux" = "zsh"; "terminal.integrated.defaultProfile.linux" = "zsh";
"terminal.integrated.profiles.linux".zsh = { "terminal.integrated.profiles.linux".zsh = {
path = "${pkgs.zsh}/bin/zsh"; path = "${pkgs.zsh}/bin/zsh";
}; };
"coverage-gutters.coverageBaseDir" = "test-reports";
# PHPUnit # PHPUnit
"phpunit.command" = "phpunit.command" =
"docker compose exec laravel.test \${php} \${phpargs} \${phpunit} \${phpunitargs}"; "docker compose exec laravel.test \${php} \${phpargs} \${phpunit} \${phpunitargs}";
@@ -62,6 +61,7 @@ let
"phpunit.paths" = { "phpunit.paths" = {
"\${workspaceFolder}" = "/var/www/html"; "\${workspaceFolder}" = "/var/www/html";
}; };
"LaravelExtraIntellisense.basePathForCode" = "/var/www/html";
}; };
editors = { editors = {
+8
View File
@@ -0,0 +1,8 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
jazz2
];
}
+8
View File
@@ -0,0 +1,8 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
opencode
];
}
+8
View File
@@ -0,0 +1,8 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
openrct2
];
}
+2 -1
View File
@@ -2,6 +2,7 @@
, nixpkgs-unstable , nixpkgs-unstable
, home-manager , home-manager
, nix-flatpak , nix-flatpak
, ai-usage
, ... , ...
}: }:
@@ -19,7 +20,7 @@ let
inherit system; inherit system;
specialArgs = { specialArgs = {
inherit pkgsUnstable; inherit pkgsUnstable ai-usage;
nixFlatpak = nix-flatpak; nixFlatpak = nix-flatpak;
}; };