mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-05 02:29:08 +00:00
Compare commits
2 Commits
2694e3288c
...
cd204f5ac3
Author | SHA1 | Date | |
---|---|---|---|
|
cd204f5ac3 | ||
|
4c685eb8dd |
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@
|
|||||||
**/.direnv/**
|
**/.direnv/**
|
||||||
result
|
result
|
||||||
.luarc.json
|
.luarc.json
|
||||||
|
private/**
|
||||||
|
!private/**.age
|
||||||
|
23
apps/default.nix
Normal file
23
apps/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ pkgs, ... }: rec {
|
||||||
|
|
||||||
|
default = readme;
|
||||||
|
|
||||||
|
# Format and install from nothing
|
||||||
|
installer = import ./installer.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
# Display the readme for this repository
|
||||||
|
readme = import ./readme.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
# Load the SSH key for this machine
|
||||||
|
loadkey = import ./loadkey.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
# Encrypt secret for all machines
|
||||||
|
encrypt-secret = import ./encrypt-secret.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
# Re-encrypt secrets for all machines
|
||||||
|
reencrypt-secrets = import ./reencrypt-secrets.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
# Connect machine metrics to Netdata Cloud
|
||||||
|
netdata = import ./netdata-cloud.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
}
|
24
flake.nix
24
flake.nix
@ -88,29 +88,7 @@
|
|||||||
|
|
||||||
apps = forAllSystems (system:
|
apps = forAllSystems (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
in rec {
|
in import ./apps { inherit pkgs; });
|
||||||
default = readme;
|
|
||||||
|
|
||||||
# Format and install from nothing
|
|
||||||
installer = import ./apps/installer.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
# Display the readme for this repository
|
|
||||||
readme = import ./apps/readme.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
# Load the SSH key for this machine
|
|
||||||
loadkey = import ./apps/loadkey.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
# Encrypt secret for all machines
|
|
||||||
encrypt-secret = import ./apps/encrypt-secret.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
# Re-encrypt secrets for all machines
|
|
||||||
reencrypt-secrets =
|
|
||||||
import ./apps/reencrypt-secrets.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
# Connect machine metrics to Netdata Cloud
|
|
||||||
netdata = import ./apps/netdata-cloud.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
devShells = forAllSystems (system:
|
devShells = forAllSystems (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
|
Loading…
Reference in New Issue
Block a user