scripts: move these to more appropriate places
This commit is contained in:
parent
6b55faec0c
commit
3961923599
|
@ -37,9 +37,7 @@ directly here; even the sources for those packages is often kept here too.
|
||||||
- inline code for wholly custom packages (e.g. `pkgs/additional/sane-scripts/` for CLI tools
|
- inline code for wholly custom packages (e.g. `pkgs/additional/sane-scripts/` for CLI tools
|
||||||
that are highly specific to my setup).
|
that are highly specific to my setup).
|
||||||
- `scripts/`
|
- `scripts/`
|
||||||
- scripts which are referenced by other things in this repo.
|
- scripts which aren't reachable on a deployed system, but may aid manual deployments
|
||||||
- these aren't generally user-facing, but they're factored out so that they can
|
|
||||||
be invoked directly when i need to debug.
|
|
||||||
- `secrets/`
|
- `secrets/`
|
||||||
- encrypted keys, API tokens, anything which one or more of my machines needs
|
- encrypted keys, API tokens, anything which one or more of my machines needs
|
||||||
read access to but shouldn't be world-readable.
|
read access to but shouldn't be world-readable.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./keyring.nix
|
./keyring
|
||||||
./mime.nix
|
./mime.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./xdg-dirs.nix
|
./xdg-dirs.nix
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
sane.user.persist.private = [ ".local/share/keyrings" ];
|
sane.user.persist.private = [ ".local/share/keyrings" ];
|
||||||
|
|
||||||
sane.user.fs."private/.local/share/keyrings/default" = {
|
sane.user.fs."private/.local/share/keyrings/default" = {
|
||||||
generated.script.script = builtins.readFile ../../../scripts/init-keyring;
|
generated.script.script = builtins.readFile ./init-keyring;
|
||||||
# TODO: is this `wantedBy` needed? can we inherit it?
|
# TODO: is this `wantedBy` needed? can we inherit it?
|
||||||
wantedBy = [ config.sane.fs."/home/colin/private".unit ];
|
wantedBy = [ config.sane.fs."/home/colin/private".unit ];
|
||||||
wantedBeforeBy = [ ]; # don't created this as part of `multi-user.target`
|
wantedBeforeBy = [ ]; # don't created this as part of `multi-user.target`
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
install-bluetooth = pkgs.static-nix-shell.mkBash {
|
install-bluetooth = pkgs.static-nix-shell.mkBash {
|
||||||
pname = "install-bluetooth";
|
pname = "install-bluetooth";
|
||||||
src = ../../../../scripts;
|
src = ./.;
|
||||||
pkgs = [ "gnused" ];
|
pkgs = [ "gnused" ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
install-iwd = pkgs.static-nix-shell.mkBash {
|
install-iwd = pkgs.static-nix-shell.mkBash {
|
||||||
pname = "install-iwd";
|
pname = "install-iwd";
|
||||||
src = ../../../../scripts;
|
src = ./.;
|
||||||
pkgs = [ "gnused" ];
|
pkgs = [ "gnused" ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user