10 current 2024-05-27 23:02:54 24.11.20240524.bfb7a88 Unknown *

This commit is contained in:
sadan 2024-05-27 23:02:55 -04:00
parent 2fc3e68688
commit 54be18a8a6
No known key found for this signature in database
5 changed files with 8 additions and 11 deletions

View file

@ -3,7 +3,7 @@ keys:
- &laptop age1tq8zaaqe8t4u2jgyf7usngtzyql0ymyxq6hntmu04vt5ypwhxensmzynhl
- &win10 age1cz006hex596lmj88kkhrkvq89luqk59hxuq83q4kvhz82ltwpe4ss8gm3t
creation_rules:
- path_regex: secrets/hosts.yml
- path_regex: secrets/hosts
key_groups:
- age:
- *desktop

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, inputs, ... }:
let
_s1 = import ../../common/sops.nix {inherit configl; };
_s1 = import ../../common/sops.nix {inherit config; };
files = import ../../common/files.nix { inherit config; };
shell = import ../../common/shell.nix { inherit config pkgs; };
p = import ../../common/pkgs.nix { inherit pkgs config; };

3
build
View file

@ -2,10 +2,11 @@
set -e
pushd ~/nixos/
#Change to change box setup
BOX="$(cat .box)"
pushd ~/nixos/
notify(){
command -v notify-send > /dev/null
if [[ $? -ne 0 ]]; then

View file

@ -12,10 +12,6 @@
source = ../dotfiles/gh/config.yml;
target = "./.config/gh/config.yml";
};
gh_auth = {
source = config.sops.hosts.path;
target = "./.config/gh/hosts.yml"
}
btop = {
recursive = true;
source = ../dotfiles/btop;

View file

@ -1,10 +1,10 @@
{ config }:
{
age.keyFile = "/home${config.home.username}/.config/sops/age/keys.txt";
defaultSopsFile = ../../secrets.yaml;
age.keyFile = "/home/${config.home.username}/.config/sops/age/keys.txt";
defaultSopsFile = ../secrets.yaml;
secrets.hosts = {
format = "binary";
sopsFile = ../../secrets/hosts;
owner = "${config.home.username}"
sopsFile = ../secrets/hosts;
path = "/home/${config.home.username}/.config/gh/hosts.yml";
};
}