Use agenix for secrets
This commit is contained in:
parent
e6ad5687d0
commit
11dfa3cc1a
9 changed files with 124 additions and 28 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, secrets, phps, ... }:
|
||||
{ pkgs, phps, agenix, ... }:
|
||||
let
|
||||
fortune = pkgs.writeShellScript "cgi" ''
|
||||
echo "Content-type: text/html"
|
||||
|
|
@ -31,6 +31,8 @@ in {
|
|||
|
||||
environment.variables.VISUAL = "code --wait";
|
||||
|
||||
age.identityPaths = [ "/home/nettika/.ssh/id_ed25519" ];
|
||||
|
||||
networking = {
|
||||
hostName = "marauder";
|
||||
firewall.enable = false;
|
||||
|
|
@ -127,7 +129,6 @@ in {
|
|||
php
|
||||
|
||||
# Command line
|
||||
git-crypt
|
||||
htop
|
||||
jq
|
||||
|
||||
|
|
@ -139,6 +140,7 @@ in {
|
|||
mullvad-vpn
|
||||
qbittorrent
|
||||
system-config-printer
|
||||
agenix.packages.${system}.default
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
|
|
@ -205,7 +207,7 @@ in {
|
|||
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = secrets.zerotier.networks;
|
||||
joinNetworks = [ "8056c2e21c0b1a53" ];
|
||||
};
|
||||
|
||||
services.mullvad-vpn = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue