14 changed files with 126 additions and 87 deletions

No files matched your search

+15 -15
View File
@@ -3,11 +3,11 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1787244866,
"narHash": "sha256-yRtH4Vs49zZE+u3CR1iBs6jTUp1o/4SdCyshZ5+ojbw=",
"lastModified": 1790701375,
"narHash": "sha256-0FpLHIRDYiyo3EMTnMQSobZQknZaa3JuWo6vmMCK76o=",
"owner": "cachix",
"repo": "devenv",
"rev": "4b10b32036245a13efdb0d77d69d6990d1c8a3f5",
"rev": "fe20b5cba7ab5e93ae73f956a8d3efc50e1753f4",
"type": "github"
},
"original": {
@@ -41,11 +41,11 @@
]
},
"locked": {
"lastModified": 1784288435,
"narHash": "sha256-ReRHaLgr/uVqdD8afFSn+myXIfpHeOhP0yYe0TJqAA8=",
"lastModified": 1790500375,
"narHash": "sha256-XN3sDtn8TU9hAc9xqZ+SqRB/HHm2wjxM6aSWYLJU+oo=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "43b3c1ab9d40fb1dbb008f451988a91e375825e9",
"rev": "a0e4241b51206fbcbf52fd322eb5f0cd80f153c4",
"type": "github"
},
"original": {
@@ -59,11 +59,11 @@
"nixpkgs-src": "nixpkgs-src"
},
"locked": {
"lastModified": 1787002832,
"narHash": "sha256-DGkHh88/7YLVGZ7HzSVN4YmUmR+wGKudIp6H9UsUNT0=",
"lastModified": 1789506231,
"narHash": "sha256-vNkJbtmqyBfFhn/HnzQo4ROuoyYWuy/allqTfJb4kMY=",
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "ee3d58d53cfcddfc0ae6fc7f04f4fe2a0c7cf0ed",
"rev": "c2f38fe7f9e04d9aadd354d380f2bd40531d9737",
"type": "github"
},
"original": {
@@ -76,11 +76,11 @@
"nixpkgs-src": {
"flake": false,
"locked": {
"lastModified": 1786858016,
"narHash": "sha256-Vczr2zxD0orq6N2QQe5uqOGF7TRDcQJRRuAcsdHr4kg=",
"lastModified": 1789370336,
"narHash": "sha256-6RSEDHIWQtesQKWSu5qRai8L2h4KgCgMEfJHstW99G4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "54ba4bcec4043e72a4006d825e0d7aff5562008f",
"rev": "c7def046b9a883d46974757852106483d741586f",
"type": "github"
},
"original": {
@@ -105,11 +105,11 @@
]
},
"locked": {
"lastModified": 1786901030,
"narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=",
"lastModified": 1791203292,
"narHash": "sha256-vuzVwvjeucSnwKwMBpyP8r5IzdrMKCHEdwTrRFwUN7I=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa",
"rev": "03d8ee1bcbc8f9638907bb79edb9673151d0e22b",
"type": "github"
},
"original": {
Generated
+33 -12
View File
@@ -1,5 +1,25 @@
{
"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": {
"inputs": {
"nixpkgs": [
@@ -7,11 +27,11 @@
]
},
"locked": {
"lastModified": 1788642154,
"narHash": "sha256-sPpQFVaFTDqO/4vvCAhuAhqTgqN/ygu+9eJcs5eB0js=",
"lastModified": 1790996401,
"narHash": "sha256-f+kOxEmOUnQazVAmGg0i8hzwgd1kX/geY+k/Dpheye8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "fd0956c99c41ae3c13a73a638f1f7e963aebc4ab",
"rev": "db7d5e2332710f5abb088f6b5de927d7f9511b35",
"type": "github"
},
"original": {
@@ -23,11 +43,11 @@
},
"nix-flatpak": {
"locked": {
"lastModified": 1783368811,
"narHash": "sha256-0H8jDwR4Kegb3heaTrH1ftbgKfZVDT8JE+46uXxDy/Q=",
"lastModified": 1790428548,
"narHash": "sha256-OsZ/I7v3ArCrk0XOUvkiU1dFtGtE1qZTHRGjvBXIKUU=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "20d42f0ee98c9fe9f85e8d1de474f1409ed10d05",
"rev": "f1f045fc8b35ff59f88982c1752d3f3a42ca6a61",
"type": "github"
},
"original": {
@@ -38,11 +58,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1788807765,
"narHash": "sha256-J9oC0bKnkXUrMegqRTXVkyDFJ0gn2U/Qpoo9HgGMQmA=",
"lastModified": 1791426274,
"narHash": "sha256-MWhktfFtFE8Jl7bf9Pkp7TR5MSdYCjCswSo0Gkb4ywc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "93108a538f079596c9a16c72cf03e9322782b6dd",
"rev": "7c8764b7c7b09b34f632464276218ef9090eaa11",
"type": "github"
},
"original": {
@@ -54,11 +74,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1788865024,
"narHash": "sha256-3YkAzvtt4LoE11IcBDzPshIF3fJ0aIoILqE7dAg8CLI=",
"lastModified": 1791366222,
"narHash": "sha256-o0N4g6uSOIppU7CGToNvGlMf5vC+B6O6ukFHKY/TKOY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "422d1ae605d7fcd9896412b37dc065c456c0eefb",
"rev": "39ad350a0602fa0a58a544344e3e9187526ea45c",
"type": "github"
},
"original": {
@@ -70,6 +90,7 @@
},
"root": {
"inputs": {
"ai-usage": "ai-usage",
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs",
+5
View File
@@ -19,6 +19,11 @@
url = "github:gmodena/nix-flatpak";
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.
+8 -4
View File
@@ -17,7 +17,7 @@
../../modules/matrix.nix
../../modules/kdenlive.nix
../../modules/audacity.nix
../../modules/ollama.nix
#../../modules/ollama.nix
../../modules/wireguard.nix
../../modules/qbittorrent.nix
../../modules/gimp.nix
@@ -31,10 +31,14 @@
../../modules/discord.nix
../../modules/lazygit.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_7_1;
# boot.kernelPackages = pkgs.linuxPackages_7_2;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -42,7 +46,7 @@
networking.hostName = "gandalf";
networking.networkmanager.enable = true;
networking.nameservers = [
"192.168.68.56"
# "192.168.68.56"
"1.1.1.1"
"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 = [
@@ -29,6 +29,9 @@
../../modules/yazi.nix
../../modules/bubblewrap.nix
../../modules/socat.nix
../../modules/cursor-cli.nix
../../modules/git-churn.nix
../../modules/ai-usage.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
@@ -60,28 +63,6 @@
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 = {
"127.0.0.1" = [
"local.wormundco.de"
@@ -92,5 +73,6 @@
"149.210.174.226" = [ "kindertelefoon" ];
};
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 = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit pkgsUnstable;
inherit pkgsUnstable ai-usage;
};
users.avravels = import home/home.nix;
+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
, home-manager
, nix-flatpak
, ai-usage
, ...
}:
@@ -19,7 +20,7 @@ let
inherit system;
specialArgs = {
inherit pkgsUnstable;
inherit pkgsUnstable ai-usage;
nixFlatpak = nix-flatpak;
};