Add Elixi.re key, and add (commented out) `nixps` config to `flake.nix`.

This commit is contained in:
Whovian NTSN 2024-06-02 05:55:42 -04:00
parent 37a9bf03b6
commit 973f3b23f6
6 changed files with 35 additions and 0 deletions

View File

@ -133,6 +133,28 @@
}
];
};
isoimage = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# ./configuration.nix
{
nix = {
extraOptions = "
experimental-features = nix-command flakes
";
};
programs = {
zsh = {
enable = true;
};
};
users = {
defaultUserShell = pkgs.zsh;
};
}
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
];
};
};
packages.x86_64-linux = {

View File

@ -34,4 +34,7 @@
alias ssl "set ssl:verify-certificate false"
'';
};
xdg.configFile = {
};
}

View File

@ -56,6 +56,9 @@
itchy = {
file = ./secrets/itchy.age;
};
elixire = {
file = ./secrets/elixire.age;
};
};
};
}

View File

@ -5,4 +5,5 @@ in
"secrets/openai_key.age".publicKeys = [ whovian ];
"secrets/curse.age".publicKeys = [ whovian ];
"secrets/itchy.age".publicKeys = [ whovian ];
"secrets/elixire.age".publicKeys = [ whovian ];
}

5
home/secrets/elixire.age Normal file
View File

@ -0,0 +1,5 @@
age-encryption.org/v1
-> ssh-ed25519 nNjyyA lpCWUwoqTZP3L8/Ap89k/+2yK0XufS1g6thmXxPVoS4
si+irzsEUpboQtXYZ5FcsG7LYCGSSFIcT4Ycr2B2/GE
--- bBbONoee+wmDKPaVWYXv9USIk0LhFK7+ZwAF6a7hCLc
…ÊzÒ€ÿC}ŠÔ›w°LQT-#¬æààXѯëù›·Ð¨¸•ð¥ø}%=kõµë!m ¾IêÄ}#Q”qݶ\vÒÄä£DÀC±Ç(&5Þ«ý

View File

@ -10,5 +10,6 @@
OPENAI_API_KEY = "\$(cat ${config.age.secrets."openai".path})";
CURSEFORGE_API_KEY = "\$(cat ${config.age.secrets."cursed".path})";
ITCHIO_API_KEY = "\$(cat ${config.age.secrets."itchy".path})";
ELIXIRE_API_KEY = "\$(cat ${config.age.secrets."elixire".path})";
};
}