aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-04 21:49:43 +0900
committersefidel <contact@sefidel.net>2024-08-06 16:01:12 +0900
commitef10438e3d76d9822dea18ff6380a43074588398 (patch)
treea472ff49ee9fbd1822db50257420e0c96de7449d
parent16ac3420ffdd707b96f39cdf14aebaf1ca81a137 (diff)
downloadnixrc-ef10438e3d76d9822dea18ff6380a43074588398.zip
feat(flake): add lanzaboote
-rw-r--r--flake.lock235
-rw-r--r--flake.nix3
2 files changed, 225 insertions, 13 deletions
diff --git a/flake.lock b/flake.lock
index 3e9d1ea..23039ca 100644
--- a/flake.lock
+++ b/flake.lock
@@ -68,6 +68,27 @@
"type": "github"
}
},
+ "crane_2": {
+ "inputs": {
+ "nixpkgs": [
+ "lanzaboote",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1717535930,
+ "narHash": "sha256-1hZ/txnbd/RmiBPNUs7i8UQw2N89uAK3UzrGAWdnFfU=",
+ "owner": "ipetkov",
+ "repo": "crane",
+ "rev": "55e7754ec31dac78980c8be45f8a28e80e370946",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ipetkov",
+ "repo": "crane",
+ "type": "github"
+ }
+ },
"flake-compat": {
"flake": false,
"locked": {
@@ -165,6 +186,22 @@
}
},
"flake-compat_7": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1696426674,
+ "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
+ "flake-compat_8": {
"locked": {
"lastModified": 1717312683,
"narHash": "sha256-FrlieJH50AuvagamEvWMIE6D2OAnERuDboFDYAED/dE=",
@@ -204,6 +241,27 @@
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
+ "lanzaboote",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1717285511,
+ "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
+ "flake-parts_3": {
+ "inputs": {
+ "nixpkgs-lib": [
"neovim-nightly",
"nixpkgs"
]
@@ -222,7 +280,7 @@
"type": "github"
}
},
- "flake-parts_3": {
+ "flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"neovim-nightly",
@@ -243,7 +301,7 @@
"type": "indirect"
}
},
- "flake-parts_4": {
+ "flake-parts_5": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
@@ -261,7 +319,7 @@
"type": "github"
}
},
- "flake-parts_5": {
+ "flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"nixpkgs-wayland",
@@ -346,10 +404,28 @@
"type": "github"
}
},
+ "flake-utils_5": {
+ "inputs": {
+ "systems": "systems_2"
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"git-hooks": {
"inputs": {
- "flake-compat": "flake-compat_6",
- "gitignore": "gitignore",
+ "flake-compat": "flake-compat_7",
+ "gitignore": "gitignore_2",
"nixpkgs": [
"neovim-nightly",
"nixpkgs"
@@ -376,6 +452,28 @@
"gitignore": {
"inputs": {
"nixpkgs": [
+ "lanzaboote",
+ "pre-commit-hooks-nix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1709087332,
+ "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "type": "github"
+ }
+ },
+ "gitignore_2": {
+ "inputs": {
+ "nixpkgs": [
"neovim-nightly",
"git-hooks",
"nixpkgs"
@@ -397,7 +495,7 @@
},
"hercules-ci-effects": {
"inputs": {
- "flake-parts": "flake-parts_3",
+ "flake-parts": "flake-parts_4",
"nixpkgs": [
"neovim-nightly",
"nixpkgs"
@@ -473,9 +571,36 @@
"type": "github"
}
},
- "lib-aggregate": {
+ "lanzaboote": {
"inputs": {
+ "crane": "crane_2",
+ "flake-compat": "flake-compat_5",
+ "flake-parts": "flake-parts_2",
"flake-utils": "flake-utils_4",
+ "nixpkgs": [
+ "unstable"
+ ],
+ "pre-commit-hooks-nix": "pre-commit-hooks-nix",
+ "rust-overlay": "rust-overlay"
+ },
+ "locked": {
+ "lastModified": 1718178907,
+ "narHash": "sha256-eSZyrQ9uoPB9iPQ8Y5H7gAmAgAvCw3InStmU3oEjqsE=",
+ "owner": "nix-community",
+ "repo": "lanzaboote",
+ "rev": "b627ccd97d0159214cee5c7db1412b75e4be6086",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "ref": "v0.4.1",
+ "repo": "lanzaboote",
+ "type": "github"
+ }
+ },
+ "lib-aggregate": {
+ "inputs": {
+ "flake-utils": "flake-utils_5",
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
@@ -510,8 +635,8 @@
},
"neovim-nightly": {
"inputs": {
- "flake-compat": "flake-compat_5",
- "flake-parts": "flake-parts_2",
+ "flake-compat": "flake-compat_6",
+ "flake-parts": "flake-parts_3",
"git-hooks": "git-hooks",
"hercules-ci-effects": "hercules-ci-effects",
"neovim-src": "neovim-src",
@@ -578,7 +703,7 @@
},
"nix-eval-jobs": {
"inputs": {
- "flake-parts": "flake-parts_5",
+ "flake-parts": "flake-parts_6",
"nix-github-actions": "nix-github-actions",
"nixpkgs": "nixpkgs",
"treefmt-nix": "treefmt-nix"
@@ -599,7 +724,7 @@
},
"nix-gaming": {
"inputs": {
- "flake-parts": "flake-parts_4",
+ "flake-parts": "flake-parts_5",
"nixpkgs": [
"unstable"
],
@@ -750,6 +875,22 @@
},
"nixpkgs-stable_2": {
"locked": {
+ "lastModified": 1710695816,
+ "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "614b4613980a522ba49f0d194531beddbb7220d3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-23.11",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs-stable_3": {
+ "locked": {
"lastModified": 1721524707,
"narHash": "sha256-5NctRsoE54N86nWd0psae70YSLfrOek3Kv1e8KoXe/0=",
"owner": "NixOS",
@@ -766,7 +907,7 @@
},
"nixpkgs-wayland": {
"inputs": {
- "flake-compat": "flake-compat_7",
+ "flake-compat": "flake-compat_8",
"lib-aggregate": "lib-aggregate",
"nix-eval-jobs": "nix-eval-jobs",
"nixpkgs": [
@@ -838,6 +979,33 @@
"type": "github"
}
},
+ "pre-commit-hooks-nix": {
+ "inputs": {
+ "flake-compat": [
+ "lanzaboote",
+ "flake-compat"
+ ],
+ "gitignore": "gitignore",
+ "nixpkgs": [
+ "lanzaboote",
+ "nixpkgs"
+ ],
+ "nixpkgs-stable": "nixpkgs-stable_2"
+ },
+ "locked": {
+ "lastModified": 1717664902,
+ "narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
+ "owner": "cachix",
+ "repo": "pre-commit-hooks.nix",
+ "rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "cachix",
+ "repo": "pre-commit-hooks.nix",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"attic": "attic",
@@ -846,6 +1014,7 @@
"home-manager": "home-manager",
"hydra": "hydra",
"impermanence": "impermanence",
+ "lanzaboote": "lanzaboote",
"neovim-nightly": "neovim-nightly",
"nix-gaming": "nix-gaming",
"nixpkgs-2311": "nixpkgs-2311",
@@ -878,12 +1047,37 @@
"type": "github"
}
},
+ "rust-overlay": {
+ "inputs": {
+ "flake-utils": [
+ "lanzaboote",
+ "flake-utils"
+ ],
+ "nixpkgs": [
+ "lanzaboote",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1717813066,
+ "narHash": "sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28=",
+ "owner": "oxalica",
+ "repo": "rust-overlay",
+ "rev": "6dc3e45fe4aee36efeed24d64fc68b1f989d5465",
+ "type": "github"
+ },
+ "original": {
+ "owner": "oxalica",
+ "repo": "rust-overlay",
+ "type": "github"
+ }
+ },
"sops-nix": {
"inputs": {
"nixpkgs": [
"unstable"
],
- "nixpkgs-stable": "nixpkgs-stable_2"
+ "nixpkgs-stable": "nixpkgs-stable_3"
},
"locked": {
"lastModified": 1722114803,
@@ -930,6 +1124,21 @@
"type": "github"
}
},
+ "systems_2": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
diff --git a/flake.nix b/flake.nix
index d15bdc4..44be695 100644
--- a/flake.nix
+++ b/flake.nix
@@ -20,6 +20,9 @@
impermanence.url = "github:nix-community/impermanence";
+ lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1";
+ lanzaboote.inputs.nixpkgs.follows = "unstable";
+
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "unstable";