feat: add nix binary repository to wizdesk and consume in wizlaptop
This commit is contained in:
parent
9a4e5c40ef
commit
09aa0e2868
|
@ -6,6 +6,7 @@
|
|||
./services/caddy.nix
|
||||
./services/forgejo.nix
|
||||
./services/jellyfin.nix
|
||||
./services/nix-serve.nix
|
||||
./services/postgresql.nix
|
||||
];
|
||||
}
|
||||
|
|
9
specific/desktop/services/nix-serve.nix
Normal file
9
specific/desktop/services/nix-serve.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
port = 7373;
|
||||
secretKeyFile = "/etc/keys/nix-store-wizdesk-1";
|
||||
};
|
||||
}
|
|
@ -19,6 +19,11 @@
|
|||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05";
|
||||
|
||||
nix.settings.substituters = [ "http://192.168.0.100:7373" ];
|
||||
nix.settings.trusted-public-keys = [
|
||||
"wizdesk-1:2UvctPjiMwMs7r2r7VPvoPmh4OcUjY3JmaRDJnOTZY8="
|
||||
];
|
||||
|
||||
#
|
||||
# SYSTEM #
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue