mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 14:54:38 -05:00
10 current 2024-05-27 23:02:54 24.11.20240524.bfb7a88 Unknown *
This commit is contained in:
parent
2fc3e68688
commit
54be18a8a6
5 changed files with 8 additions and 11 deletions
|
@ -3,7 +3,7 @@ keys:
|
|||
- &laptop age1tq8zaaqe8t4u2jgyf7usngtzyql0ymyxq6hntmu04vt5ypwhxensmzynhl
|
||||
- &win10 age1cz006hex596lmj88kkhrkvq89luqk59hxuq83q4kvhz82ltwpe4ss8gm3t
|
||||
creation_rules:
|
||||
- path_regex: secrets/hosts.yml
|
||||
- path_regex: secrets/hosts
|
||||
key_groups:
|
||||
- age:
|
||||
- *desktop
|
||||
|
|
|
@ -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
3
build
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue