add substituter

This commit is contained in:
Artemis Tosini 2024-02-15 23:45:15 +00:00
parent fd97516033
commit ca4ddbfd4f
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
2 changed files with 12 additions and 9 deletions

View file

@ -10,11 +10,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1707860881, "lastModified": 1708040663,
"narHash": "sha256-iFMkv1yTgHODqbgFHWS4ijNuLMWc2+4OLQxg5GGufIc=", "narHash": "sha256-8EhR0AA8IWqJ5fwPRM4LSAjTWmvqgNRA7ZX1SFypOjg=",
"ref": "refs/heads/canon", "ref": "refs/heads/canon",
"rev": "05f199b1aa907ea11c2bf12035e9394e782598ed", "rev": "3e0cca3f9dc98ffc80a13bc8cc68dd354559e9f2",
"revCount": 34, "revCount": 35,
"type": "git", "type": "git",
"url": "https://git.mildlyfunctional.gay/artemist/packages.git" "url": "https://git.mildlyfunctional.gay/artemist/packages.git"
}, },
@ -457,11 +457,11 @@
}, },
"private": { "private": {
"locked": { "locked": {
"lastModified": 1702275325, "lastModified": 1708040288,
"narHash": "sha256-jtNF0M/+skOV+HyJaN0dR7fCqILVb31Ia4IAnMVt/zQ=", "narHash": "sha256-xJY8FztA02HSaFxYuuaBmwVw54zTjqY4Old0QDzeQIc=",
"ref": "unified", "ref": "unified",
"rev": "cbdfef430755e9f49245fe80db1349511ac998f5", "rev": "6f1245d222b56427cae3073df28bd0ff9a4d6d87",
"revCount": 40, "revCount": 41,
"type": "git", "type": "git",
"url": "ssh://forgejo@git.mildlyfunctional.gay/artemist/nixos-config-private" "url": "ssh://forgejo@git.mildlyfunctional.gay/artemist/nixos-config-private"
}, },

View file

@ -1,7 +1,10 @@
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, ... }:
{ {
imports = [ inputs.private.nixosModules.base ]; imports = [
inputs.private.nixosModules.base
inputs.private.nixosModules.substituter
];
systemd.tmpfiles.rules = lib.mapAttrsToList systemd.tmpfiles.rules = lib.mapAttrsToList
(key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") inputs; (key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") inputs;