1 Commits
Author SHA1 Message Date
armel 49f0bc9773 Pin Linux Kernel for gandalf to 7.1 2026-09-05 11:13:10 +02:00
18 changed files with 89 additions and 196 deletions

No files matched your search

+15 -15
View File
@@ -3,11 +3,11 @@
"devenv": { "devenv": {
"locked": { "locked": {
"dir": "src/modules", "dir": "src/modules",
"lastModified": 1790701375, "lastModified": 1787244866,
"narHash": "sha256-0FpLHIRDYiyo3EMTnMQSobZQknZaa3JuWo6vmMCK76o=", "narHash": "sha256-yRtH4Vs49zZE+u3CR1iBs6jTUp1o/4SdCyshZ5+ojbw=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "fe20b5cba7ab5e93ae73f956a8d3efc50e1753f4", "rev": "4b10b32036245a13efdb0d77d69d6990d1c8a3f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -41,11 +41,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1790500375, "lastModified": 1784288435,
"narHash": "sha256-XN3sDtn8TU9hAc9xqZ+SqRB/HHm2wjxM6aSWYLJU+oo=", "narHash": "sha256-ReRHaLgr/uVqdD8afFSn+myXIfpHeOhP0yYe0TJqAA8=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "a0e4241b51206fbcbf52fd322eb5f0cd80f153c4", "rev": "43b3c1ab9d40fb1dbb008f451988a91e375825e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -59,11 +59,11 @@
"nixpkgs-src": "nixpkgs-src" "nixpkgs-src": "nixpkgs-src"
}, },
"locked": { "locked": {
"lastModified": 1789506231, "lastModified": 1787002832,
"narHash": "sha256-vNkJbtmqyBfFhn/HnzQo4ROuoyYWuy/allqTfJb4kMY=", "narHash": "sha256-DGkHh88/7YLVGZ7HzSVN4YmUmR+wGKudIp6H9UsUNT0=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv-nixpkgs", "repo": "devenv-nixpkgs",
"rev": "c2f38fe7f9e04d9aadd354d380f2bd40531d9737", "rev": "ee3d58d53cfcddfc0ae6fc7f04f4fe2a0c7cf0ed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -76,11 +76,11 @@
"nixpkgs-src": { "nixpkgs-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1789370336, "lastModified": 1786858016,
"narHash": "sha256-6RSEDHIWQtesQKWSu5qRai8L2h4KgCgMEfJHstW99G4=", "narHash": "sha256-Vczr2zxD0orq6N2QQe5uqOGF7TRDcQJRRuAcsdHr4kg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c7def046b9a883d46974757852106483d741586f", "rev": "54ba4bcec4043e72a4006d825e0d7aff5562008f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -105,11 +105,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1791203292, "lastModified": 1786901030,
"narHash": "sha256-vuzVwvjeucSnwKwMBpyP8r5IzdrMKCHEdwTrRFwUN7I=", "narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "03d8ee1bcbc8f9638907bb79edb9673151d0e22b", "rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa",
"type": "github" "type": "github"
}, },
"original": { "original": {
Generated
+12 -33
View File
@@ -1,25 +1,5 @@
{ {
"nodes": { "nodes": {
"ai-usage": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1791814870,
"narHash": "sha256-z8oGuIY9I/MvgOoeNLBFg9aj9ySOEj6mw0224gQsh2U=",
"ref": "refs/heads/master",
"rev": "81ec07a9aa01d9d5773187c7ad285482f1bf1525",
"revCount": 3,
"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": [
@@ -27,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1792438572, "lastModified": 1787377438,
"narHash": "sha256-5mQQOcggBRBXB7NlzUxO0dbvQN4euJOISjNybrtfxPk=", "narHash": "sha256-Sxu1NLTD/Ern6hFGLlZmtKCSct3YQXZI/lls8RE1XeM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "24f8f8e786f87d6a818e1746cb2389bf922afdab", "rev": "65258d5c65a250189fde2e35f490d15e064c4c62",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +23,11 @@
}, },
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1791644268, "lastModified": 1783368811,
"narHash": "sha256-f7Z4PmfnRxf7+37NN48ep+KsQauGtL5REE99pJtMNp8=", "narHash": "sha256-0H8jDwR4Kegb3heaTrH1ftbgKfZVDT8JE+46uXxDy/Q=",
"owner": "gmodena", "owner": "gmodena",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"rev": "02656785ab214fa1c9655f1beaaf0269eeeec2ca", "rev": "20d42f0ee98c9fe9f85e8d1de474f1409ed10d05",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -58,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1792615934, "lastModified": 1788405554,
"narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=", "narHash": "sha256-r2f1oUwixlgq9zOdYLqJLfS/lWBT60/IITjhTKI59JU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36", "rev": "a5cc6f2c37bf518436dc8d1c288ccd0c43c2f4c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -74,11 +54,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1792506237, "lastModified": 1788400875,
"narHash": "sha256-Q/8KLB6jNfpaUN1HAedE/u/Et9feE/zYSsutBLKrCFk=", "narHash": "sha256-JIHQ6xNAN53cdo6zZ72LRcQ9lpvnABCnNE4hldJ5uZU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5adc50831c259f87faeb09ddf930d43597197473", "rev": "5545adfad2e98de106a5544ca7067e03010410bd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -90,7 +70,6 @@
}, },
"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,11 +19,6 @@
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.
+4 -9
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,15 +31,10 @@
../../modules/discord.nix ../../modules/discord.nix
../../modules/lazygit.nix ../../modules/lazygit.nix
../../modules/yazi.nix ../../modules/yazi.nix
../../modules/cursor-cli.nix ./mtp-fix.nix
../../modules/openrct2.nix
../../modules/jazz2.nix
../../modules/opencode.nix
../../modules/git-churn.nix
../../modules/photocraft.nix
]; ];
# boot.kernelPackages = pkgs.linuxPackages_7_2; boot.kernelPackages = pkgs.linuxPackages_7_1;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@@ -47,7 +42,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
@@ -0,0 +1,30 @@
{ 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 = [ ];
});
}
)
];
}
+23 -6
View File
@@ -1,4 +1,4 @@
{ config, home-manager, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
@@ -29,10 +29,6 @@
../../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
../../modules/photocraft.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@@ -64,6 +60,28 @@
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"
@@ -74,6 +92,5 @@
"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?
} }
-15
View File
@@ -1,15 +0,0 @@
{ pkgs, ai-usage, home-manager, ... }:
{
home-manager.users.avravels = {
imports = [ ai-usage.homeManagerModules.default ];
programs.ai-usage = {
enable = true;
providers.cursor.enable = true;
providers.codex.enable = false;
providers.claude.enable = false;
package = ai-usage.packages.${pkgs.stdenv.hostPlatform.system}.default;
};
};
}
-8
View File
@@ -1,8 +0,0 @@
{ config, pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
cursor-cli
];
}
-23
View File
@@ -1,23 +0,0 @@
{ 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, ai-usage, pkgsUnstable, ... }: { pkgs, pkgsUnstable, ... }:
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { extraSpecialArgs = {
inherit pkgsUnstable ai-usage; inherit pkgsUnstable;
}; };
users.avravels = import home/home.nix; users.avravels = import home/home.nix;
-1
View File
@@ -4,6 +4,5 @@
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings.confirm_quit = false; settings.confirm_quit = false;
settings.remember_window_size = false;
}; };
} }
+2 -1
View File
@@ -8,6 +8,7 @@ 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 {
@@ -48,12 +49,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}";
-8
View File
@@ -1,8 +0,0 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
jazz2
];
}
-8
View File
@@ -1,8 +0,0 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
opencode
];
}
-8
View File
@@ -1,8 +0,0 @@
{ pkgsUnstable, ... }:
{
environment.systemPackages = with pkgsUnstable; [
openrct2
];
}
-7
View File
@@ -1,7 +0,0 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(pkgs.callPackage ../packages/photocraft.nix { })
];
}
+1 -2
View File
@@ -2,7 +2,6 @@
, nixpkgs-unstable , nixpkgs-unstable
, home-manager , home-manager
, nix-flatpak , nix-flatpak
, ai-usage
, ... , ...
}: }:
@@ -20,7 +19,7 @@ let
inherit system; inherit system;
specialArgs = { specialArgs = {
inherit pkgsUnstable ai-usage; inherit pkgsUnstable;
nixFlatpak = nix-flatpak; nixFlatpak = nix-flatpak;
}; };
-45
View File
@@ -1,45 +0,0 @@
{ lib
, appimageTools
, fetchurl
,
}:
let
pname = "photocraft";
version = "0.7.0";
src = fetchurl {
url = "https://github.com/storytold/photocraft/releases/download/v${version}/photocraft-${version}-linux-x86_64.AppImage";
hash = "sha256-h+vONrzfazHRapyiLOKfmtjbaBheTZgRiADRwt54rEI=";
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm644 ${src} $out/share/${pname}/source.AppImage
mkdir -p $out/share/applications
cat > $out/share/applications/${pname}.desktop <<EOF
[Desktop Entry]
Name=PhotoCraft
Comment=Open-source image editor
Exec=${pname} %F
Terminal=false
Type=Application
Categories=Graphics;RasterGraphics;
StartupNotify=true
EOF
'';
meta = {
description = "Open-source image editor";
homepage = "https://github.com/storytold/photocraft";
downloadPage = "https://github.com/storytold/photocraft/releases";
license = lib.licenses.mit;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
mainProgram = "photocraft";
};
}