🚧 working with everything defined here and secrets is not a flake, just a folder
Some checks failed
Build all NixOS Configurations / nix build (push) Failing after 50s

This commit is contained in:
Ingolf Wagner 2025-06-14 01:08:28 +02:00
parent 1fe658d7d7
commit acaead0f81
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 76 additions and 193 deletions

254
flake.lock generated
View file

@ -235,25 +235,7 @@
},
"devshell_3": {
"inputs": {
"nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1741473158,
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
"owner": "numtide",
"repo": "devshell",
"rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"devshell_4": {
"inputs": {
"nixpkgs": "nixpkgs_13"
"nixpkgs": "nixpkgs_11"
},
"locked": {
"lastModified": 1735644329,
@ -377,24 +359,6 @@
"type": "github"
}
},
"flake-parts_10": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_7"
},
"locked": {
"lastModified": 1730504689,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
@ -476,24 +440,6 @@
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_4"
},
"locked": {
"lastModified": 1749398372,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_7": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_5"
},
"locked": {
"lastModified": 1730504689,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
@ -508,7 +454,7 @@
"type": "github"
}
},
"flake-parts_8": {
"flake-parts_7": {
"inputs": {
"nixpkgs-lib": [
"stylix",
@ -529,9 +475,9 @@
"type": "github"
}
},
"flake-parts_9": {
"flake-parts_8": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_6"
"nixpkgs-lib": "nixpkgs-lib_5"
},
"locked": {
"lastModified": 1748821116,
@ -547,6 +493,24 @@
"type": "github"
}
},
"flake-parts_9": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_6"
},
"locked": {
"lastModified": 1730504689,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1644229661,
@ -1081,21 +1045,6 @@
}
},
"nixpkgs-lib_4": {
"locked": {
"lastModified": 1748740939,
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-lib_5": {
"locked": {
"lastModified": 1730504152,
"narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
@ -1107,7 +1056,7 @@
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
}
},
"nixpkgs-lib_6": {
"nixpkgs-lib_5": {
"locked": {
"lastModified": 1748740939,
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
@ -1122,7 +1071,7 @@
"type": "github"
}
},
"nixpkgs-lib_7": {
"nixpkgs-lib_6": {
"locked": {
"lastModified": 1730504152,
"narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
@ -1151,38 +1100,6 @@
}
},
"nixpkgs_10": {
"locked": {
"lastModified": 1749285348,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": {
"lastModified": 1749411262,
"narHash": "sha256-gRBkeW9l5lb/90lv1waQFNT+18OhITs11HENarh6vNo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0fc422d6c394191338c9d6a05786c63fc52a0f29",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_12": {
"locked": {
"lastModified": 1749143949,
"narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=",
@ -1198,7 +1115,7 @@
"type": "github"
}
},
"nixpkgs_13": {
"nixpkgs_11": {
"locked": {
"lastModified": 1722073938,
"narHash": "sha256-OpX0StkL8vpXyWOGUD6G+MA26wAXK6SpT94kLJXo6B4=",
@ -1324,16 +1241,16 @@
},
"nixpkgs_9": {
"locked": {
"lastModified": 1722073938,
"narHash": "sha256-OpX0StkL8vpXyWOGUD6G+MA26wAXK6SpT94kLJXo6B4=",
"lastModified": 1749411262,
"narHash": "sha256-gRBkeW9l5lb/90lv1waQFNT+18OhITs11HENarh6vNo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e36e9f57337d0ff0cf77aceb58af4c805472bfae",
"rev": "0fc422d6c394191338c9d6a05786c63fc52a0f29",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
@ -1348,7 +1265,7 @@
"stylix",
"nixpkgs"
],
"treefmt-nix": "treefmt-nix_7"
"treefmt-nix": "treefmt-nix_6"
},
"locked": {
"lastModified": 1748730660,
@ -1479,37 +1396,29 @@
"stylix": "stylix",
"taskwarrior": "taskwarrior",
"telemetry": "telemetry",
"treefmt-nix": "treefmt-nix_10"
"treefmt-nix": "treefmt-nix_9"
}
},
"secrets": {
"inputs": {
"devshell": "devshell_3",
"flake-parts": "flake-parts_6",
"nixpkgs": "nixpkgs_10",
"treefmt-nix": "treefmt-nix_5"
},
"flake": false,
"locked": {
"lastModified": 1749853625,
"narHash": "sha256-cOoCwhK00CEEtBQAeHIfACd8dJAIP0gXoFwrHW5NxGw=",
"ref": "refs/heads/main",
"rev": "3e7caab6e6e9c421155fd70c53ac7f6167dcb35b",
"revCount": 5,
"type": "git",
"url": "file:///home/palo/dev/nixos/secrets"
"lastModified": 1749855716,
"narHash": "sha256-evIY+zvJk9N8Z9PWFswq/9gsgrPONAC8S77PjgzcZbY=",
"path": "/home/palo/dev/nixos/secrets",
"type": "path"
},
"original": {
"type": "git",
"url": "file:///home/palo/dev/nixos/secrets"
"path": "/home/palo/dev/nixos/secrets",
"type": "path"
}
},
"share-http": {
"inputs": {
"flake-parts": "flake-parts_7",
"flake-parts": "flake-parts_6",
"nixpkgs": [
"nixpkgs"
],
"treefmt-nix": "treefmt-nix_6"
"treefmt-nix": "treefmt-nix_5"
},
"locked": {
"lastModified": 1731803554,
@ -1549,7 +1458,7 @@
},
"srvos": {
"inputs": {
"nixpkgs": "nixpkgs_11"
"nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1749431367,
@ -1573,7 +1482,7 @@
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-compat": "flake-compat_2",
"flake-parts": "flake-parts_8",
"flake-parts": "flake-parts_7",
"git-hooks": "git-hooks",
"gnome-shell": "gnome-shell",
"home-manager": [
@ -1703,10 +1612,10 @@
},
"taskwarrior": {
"inputs": {
"flake-parts": "flake-parts_9",
"nixpkgs": "nixpkgs_12",
"flake-parts": "flake-parts_8",
"nixpkgs": "nixpkgs_10",
"taskshell": "taskshell",
"treefmt-nix": "treefmt-nix_8"
"treefmt-nix": "treefmt-nix_7"
},
"locked": {
"lastModified": 1749341478,
@ -1724,12 +1633,12 @@
},
"telemetry": {
"inputs": {
"devshell": "devshell_4",
"flake-parts": "flake-parts_10",
"devshell": "devshell_3",
"flake-parts": "flake-parts_9",
"nixpkgs": [
"nixpkgs"
],
"treefmt-nix": "treefmt-nix_9"
"treefmt-nix": "treefmt-nix_8"
},
"locked": {
"lastModified": 1740624189,
@ -1847,26 +1756,6 @@
"type": "github"
}
},
"treefmt-nix_10": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749194973,
"narHash": "sha256-eEy8cuS0mZ2j/r/FE0/LYBSBcIs/MKOIVakwHVuqTfk=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "a05be418a1af1198ca0f63facb13c985db4cb3c5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": [
@ -1931,27 +1820,6 @@
}
},
"treefmt-nix_5": {
"inputs": {
"nixpkgs": [
"secrets",
"nixpkgs"
]
},
"locked": {
"lastModified": 1749194973,
"narHash": "sha256-eEy8cuS0mZ2j/r/FE0/LYBSBcIs/MKOIVakwHVuqTfk=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "a05be418a1af1198ca0f63facb13c985db4cb3c5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_6": {
"inputs": {
"nixpkgs": [
"share-http",
@ -1972,7 +1840,7 @@
"type": "github"
}
},
"treefmt-nix_7": {
"treefmt-nix_6": {
"inputs": {
"nixpkgs": [
"stylix",
@ -1994,7 +1862,7 @@
"type": "github"
}
},
"treefmt-nix_8": {
"treefmt-nix_7": {
"inputs": {
"nixpkgs": [
"taskwarrior",
@ -2015,7 +1883,7 @@
"type": "github"
}
},
"treefmt-nix_9": {
"treefmt-nix_8": {
"inputs": {
"nixpkgs": [
"telemetry",
@ -2035,6 +1903,26 @@
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_9": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749194973,
"narHash": "sha256-eEy8cuS0mZ2j/r/FE0/LYBSBcIs/MKOIVakwHVuqTfk=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "a05be418a1af1198ca0f63facb13c985db4cb3c5",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",

View file

@ -55,7 +55,8 @@
agenix.url = "github:ryantm/agenix";
secrets.url = "git+file:///home/palo/dev/nixos/secrets";
secrets.url = "path:///home/palo/dev/nixos/secrets";
secrets.flake = false;
};
@ -475,13 +476,7 @@
private-parts.nixosModules.cherry
homeManagerModules
stylixModules
{
imports = [
agenix.nixosModules.default
secrets.nixosModules.default
];
}
agenix.nixosModules.default
{ home-manager.users.mainUser.gui.enable = true; }
{

View file

@ -1,10 +1,11 @@
{ config, ... }:
{ config, inputs, ... }:
{
services.atticd = {
enable = true;
environmentFile = config.age.secrets.attic_env.path;
};
age.secrets.attic_env.file = "${inputs.secrets}/cherry_attic_server_token.age";
age.secrets.attic_env.owner = config.services.atticd.user;
age.secrets.attic_env.group = config.services.atticd.group;
age.secrets.attic_env.path = "/etc/attic/attic_env";

View file

@ -6,6 +6,5 @@ let
systems = [ cherry ];
in
{
"../secrets/cherry_secret.age".publicKeys = users ++ [ cherry ];
"../secrets/cherry_attic_server_token.age".publicKeys = users ++ [ cherry ];
}