I want to use nixos containers for some projects without defining them all here and rebuilding each time - there's a project someone made for that! Let's install it :)
+12
npins/sources.json
+12
npins/sources.json
···
296
296
"url": "https://api.github.com/repos/9001/copyparty/tarball/refs/tags/v1.20.4",
297
297
"hash": "sha256-OX07f7Mn0a+ty4s0NGwcJx0aWUWnMFXJfXKqQFZn4wc="
298
298
},
299
+
"extra-container": {
300
+
"type": "Git",
301
+
"repository": {
302
+
"type": "Git",
303
+
"url": "https://github.com/erikarvstedt/extra-container"
304
+
},
305
+
"branch": "master",
306
+
"submodules": false,
307
+
"revision": "b450bdb24fca1076973c852d87bcb49b8eb5fd49",
308
+
"url": null,
309
+
"hash": "sha256-XGp4HHH6D6ZKiO5RnMzqYJYnZB538EnEflvlTsOKpvo="
310
+
},
299
311
"fenix": {
300
312
"type": "Git",
301
313
"repository": {
+11
packetmix/systems/redhead/containers.nix
+11
packetmix/systems/redhead/containers.nix
···
1
+
{ project, system, ... }:
2
+
{
3
+
# The module for this in nixpkgs seems to use a broken package...
4
+
boot.extraSystemdUnitPaths = [ "/etc/systemd-mutable/system" ];
5
+
environment.systemPackages = [ project.inputs.extra-container.result.packages.${system}.default ];
6
+
7
+
clicks.storage.impermanence.persist.directories = [
8
+
"/var/lib/nixos-containers"
9
+
"/etc/systemd-mutable"
10
+
];
11
+
}
History
1 round
0 comments
a.starrysky.fyi
submitted
#0
1 commit
expand
collapse
feat(redhead): add extra-container
I want to use nixos containers for some projects without defining them
all here and rebuilding each time - there's a project someone made for
that! Let's install it :)
no conflicts, ready to merge