remove nix pkg oci

This commit is contained in:
2026-07-21 18:34:14 +09:00
parent 45957d0b40
commit e1c9beb362
9 changed files with 0 additions and 161 deletions
-1
View File
@@ -2,7 +2,6 @@
imports = [
./container.nix
./kde.nix
./nixcache-oci.nix
./quem-guest.nix
];
}
@@ -1,17 +0,0 @@
{
lib,
config,
...
}:
let
cfg = config.my.features.services.nixcacheOci;
in
{
options.my.features.services.nixcacheOci = {
enable = lib.mkEnableOption "Nix binary cache backed by public GHCR";
};
config = lib.mkIf cfg.enable {
my.system.nixcacheOci.enable = true;
};
}
-3
View File
@@ -1,4 +1,3 @@
{ inputs, ... }:
{
imports = [
./audio.nix
@@ -12,7 +11,6 @@
./locale.nix
./network
./nix.nix
./nixcache-oci.nix
./power.nix
./quem.nix
./secure-boot.nix
@@ -20,6 +18,5 @@
./user
./version.nix
./secret.nix
inputs.nixcache-oci.nixosModules.default
];
}
-27
View File
@@ -1,27 +0,0 @@
{
lib,
config,
...
}:
let
cfg = config.my.system.nixcacheOci;
publicKeyFile = ../../nixcache-public-key.txt;
publicKey =
if builtins.pathExists publicKeyFile then
lib.strings.trim (builtins.readFile publicKeyFile)
else
"";
in
{
options.my.system.nixcacheOci = {
enable = lib.mkEnableOption "Nix binary cache backed by the public GitHub Container Registry";
};
config = lib.mkIf cfg.enable {
services.nixcache-proxy = {
enable = true;
repo = "moons-14/dotfiles";
inherit publicKey;
};
};
}