Hazel Levine 7 months ago
parent
commit
fbe104bd05
6 changed files with 3 additions and 51 deletions
  1. +0
    -14
      cachix.nix
  2. +0
    -12
      cachix/cachix.nix
  3. +0
    -12
      cachix/nix-community.nix
  4. +0
    -12
      cachix/qtp2t.nix
  5. +1
    -1
      configuration.nix
  6. +2
    -0
      modules/services/bitwarden.nix

+ 0
- 14
cachix.nix View File

@ -1,14 +0,0 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.binaryCaches = ["https://cache.nixos.org/"];
}

+ 0
- 12
cachix/cachix.nix View File

@ -1,12 +0,0 @@
{
nix = {
binaryCaches = [
"https://cachix.cachix.org"
];
binaryCachePublicKeys = [
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
];
};
}

+ 0
- 12
cachix/nix-community.nix View File

@ -1,12 +0,0 @@
{
nix = {
binaryCaches = [
"https://nix-community.cachix.org"
];
binaryCachePublicKeys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}

+ 0
- 12
cachix/qtp2t.nix View File

@ -1,12 +0,0 @@
{
nix = {
binaryCaches = [
"https://qtp2t.cachix.org"
];
binaryCachePublicKeys = [
"qtp2t.cachix.org-1:u11AfPwSPF2IG40OrXNECfAualy4m7hFKtpsiHsE8mg="
];
};
}

+ 1
- 1
configuration.nix View File

@ -3,7 +3,7 @@
{
imports = [
<home-manager/nixos>
./cachix.nix
# ./cachix.nix
./modules
./machines/current


+ 2
- 0
modules/services/bitwarden.nix View File

@ -24,6 +24,8 @@ with lib; {
signupsAllowed = false;
rocketPort = 8080;
rocketLog = "critical";
yubicoClientId = 56284;
yubicoSecretKey = (builtins.readFile /etc/yubico-secret-key);
};
dbBackend = "sqlite";
};


Loading…
Cancel
Save