chore: run statix

This commit is contained in:
2026-02-22 12:10:47 +01:00
parent e6cad243de
commit 3aff25b448
3 changed files with 14 additions and 10 deletions

View File

@@ -50,15 +50,19 @@
}:
let
my-lib = import ./lib { lib = nixpkgs.lib; };
my-lib = import ./lib { inherit (nixpkgs) lib; };
overlays = [
(_: prev: {
claude-code =
inherit
(
(import inputs.nixpkgs-unstable {
system = prev.stdenv.hostPlatform.system;
inherit (prev.stdenv.hostPlatform) system;
config.allowUnfree = true;
}).claude-code;
})
)
claude-code
;
})
];
@@ -94,7 +98,7 @@
nixosModules = import ./modules/nixos {
inherit my-lib;
lib = nixpkgs.lib;
inherit (nixpkgs) lib;
} { };
}
// flake-utils.lib.eachDefaultSystem (
@@ -105,7 +109,7 @@
{
packages = import ./packages {
inherit my-lib;
lib = nixpkgs.lib;
inherit (nixpkgs) lib;
} (inputs // { inherit system; });
formatter = pkgs.nixfmt-tree;

View File

@@ -78,7 +78,7 @@ in
"${keyDir}/ssh_host_rsa_key"
"${keyDir}/ssh_host_ed25519_key"
];
authorizedKeys = cfg.authorizedKeys;
inherit (cfg) authorizedKeys;
};
postCommands = ''
echo 'cryptsetup-askpass' >> /root/.profile

View File

@@ -7,7 +7,7 @@ in
pkgs.stdenv.mkDerivation {
pname = "ca-matheo-si";
version = version;
inherit version;
src = pkgs.fetchurl {
url = "http://ipa2.matheo.si/ipa/config/ca.crt";