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
|
- &laptop age1tq8zaaqe8t4u2jgyf7usngtzyql0ymyxq6hntmu04vt5ypwhxensmzynhl
|
||||||
- &win10 age1cz006hex596lmj88kkhrkvq89luqk59hxuq83q4kvhz82ltwpe4ss8gm3t
|
- &win10 age1cz006hex596lmj88kkhrkvq89luqk59hxuq83q4kvhz82ltwpe4ss8gm3t
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: secrets/hosts.yml
|
- path_regex: secrets/hosts
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *desktop
|
- *desktop
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
_s1 = import ../../common/sops.nix {inherit configl; };
|
_s1 = import ../../common/sops.nix {inherit config; };
|
||||||
files = import ../../common/files.nix { inherit config; };
|
files = import ../../common/files.nix { inherit config; };
|
||||||
shell = import ../../common/shell.nix { inherit config pkgs; };
|
shell = import ../../common/shell.nix { inherit config pkgs; };
|
||||||
p = import ../../common/pkgs.nix { inherit pkgs config; };
|
p = import ../../common/pkgs.nix { inherit pkgs config; };
|
||||||
|
|
3
build
3
build
|
@ -2,10 +2,11 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
pushd ~/nixos/
|
||||||
|
|
||||||
#Change to change box setup
|
#Change to change box setup
|
||||||
BOX="$(cat .box)"
|
BOX="$(cat .box)"
|
||||||
|
|
||||||
pushd ~/nixos/
|
|
||||||
notify(){
|
notify(){
|
||||||
command -v notify-send > /dev/null
|
command -v notify-send > /dev/null
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
source = ../dotfiles/gh/config.yml;
|
source = ../dotfiles/gh/config.yml;
|
||||||
target = "./.config/gh/config.yml";
|
target = "./.config/gh/config.yml";
|
||||||
};
|
};
|
||||||
gh_auth = {
|
|
||||||
source = config.sops.hosts.path;
|
|
||||||
target = "./.config/gh/hosts.yml"
|
|
||||||
}
|
|
||||||
btop = {
|
btop = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
source = ../dotfiles/btop;
|
source = ../dotfiles/btop;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ config }:
|
{ config }:
|
||||||
{
|
{
|
||||||
age.keyFile = "/home${config.home.username}/.config/sops/age/keys.txt";
|
age.keyFile = "/home/${config.home.username}/.config/sops/age/keys.txt";
|
||||||
defaultSopsFile = ../../secrets.yaml;
|
defaultSopsFile = ../secrets.yaml;
|
||||||
secrets.hosts = {
|
secrets.hosts = {
|
||||||
format = "binary";
|
format = "binary";
|
||||||
sopsFile = ../../secrets/hosts;
|
sopsFile = ../secrets/hosts;
|
||||||
owner = "${config.home.username}"
|
path = "/home/${config.home.username}/.config/gh/hosts.yml";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue