From 973f3b23f62edba0b280e1ab57dbb63ad2baa16b Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Sun, 2 Jun 2024 05:55:42 -0400 Subject: [PATCH] Add Elixi.re key, and add (commented out) `nixps` config to `flake.nix`. --- flake.nix | 22 ++++++++++++++++++++++ home/dotfiles.nix | 3 +++ home/home.nix | 3 +++ home/secrets.nix | 1 + home/secrets/elixire.age | 5 +++++ home/variables.nix | 1 + 6 files changed, 35 insertions(+) create mode 100644 home/secrets/elixire.age diff --git a/flake.nix b/flake.nix index 18ad3b5..36e81bf 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/home/dotfiles.nix b/home/dotfiles.nix index 72e36b5..f351581 100644 --- a/home/dotfiles.nix +++ b/home/dotfiles.nix @@ -34,4 +34,7 @@ alias ssl "set ssl:verify-certificate false" ''; }; + + xdg.configFile = { + }; } diff --git a/home/home.nix b/home/home.nix index fd6ba37..29a10a3 100644 --- a/home/home.nix +++ b/home/home.nix @@ -56,6 +56,9 @@ itchy = { file = ./secrets/itchy.age; }; + elixire = { + file = ./secrets/elixire.age; + }; }; }; } diff --git a/home/secrets.nix b/home/secrets.nix index 35eb7aa..c1c60b4 100644 --- a/home/secrets.nix +++ b/home/secrets.nix @@ -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 ]; } diff --git a/home/secrets/elixire.age b/home/secrets/elixire.age new file mode 100644 index 0000000..cdef91b --- /dev/null +++ b/home/secrets/elixire.age @@ -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Þ«ý \ No newline at end of file diff --git a/home/variables.nix b/home/variables.nix index 452d5de..96cf63e 100644 --- a/home/variables.nix +++ b/home/variables.nix @@ -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})"; }; }