From d5a886a6dd572d8c8c9fdf724e7c3ee1a053d3e3 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 1 Jun 2024 00:56:01 +0200 Subject: [PATCH] chore: re-add invokeai substituter --- hosts/kroma/default.nix | 3 +++ users/myuser/graphical/default.nix | 15 ++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/hosts/kroma/default.nix b/hosts/kroma/default.nix index 5f3a1a8..a7621f5 100644 --- a/hosts/kroma/default.nix +++ b/hosts/kroma/default.nix @@ -58,6 +58,9 @@ popups = 20; }; + nix.settings.trusted-substituters = ["https://ai.cachix.org"]; + nix.settings.trusted-public-keys = ["ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc="]; + #meta.promtail = { # enable = true; # proxy = "sentinel"; diff --git a/users/myuser/graphical/default.nix b/users/myuser/graphical/default.nix index 7f335b5..5d24bc4 100644 --- a/users/myuser/graphical/default.nix +++ b/users/myuser/graphical/default.nix @@ -37,41 +37,34 @@ pkgs.xdragon pkgs.yt-dlp pkgs.zathura + pkgs.gpu-screen-recorder + pkgs.gpu-screen-recorder-gtk ]; - # TODO yubikey pinentry is curses but should be graphical - # TODO test different pinentrys (pinentry gtk?) # TODO wrap thunderbird bin and set LC_ALL=de_DE.UTF-8 because thunderbird uses wrong date and time formatting with C.UTF-8 # TODO make screenshot copy work even if notification fails (set -e does its thing here) # TODO pavucontrol shortcut or bar button - # TODO secureboot -> use pam yubikey login # TODO keyboard stays lit on poweroff -> add systemd service to disable it on shutdown # TODO on neogit close do neotree update - # TODO kitty terminfo missing with ssh root@localhost - # TODO nix repl cltr+del doesnt work - # TODO wrap neovim for kitty hist # TODO neovim gitsigns toggle_deleted keybind # TODO neovim gitsigns stage hunk shortcut # TODO neovim directtly opening file has different syntax # TODO neovim reopening file should continue at the previous position # TODO thunderbird doesn't use passwords from password command - # TODO rotating wallpaper # TODO accounts.concats accounts.calendar - # TODO agenix rekey edit secret should create temp files with same extension # TODO mod+f1-4 for left monitor? - # TODO autostart signal, firefox (both windows), etc. - # TODO repo secrets caches in /tmp which is removed each reboot and could be improved # TODO sway shortcuts # TODO VP9 hardware video decoding blocklisted - # TODO gpg switch to sk persistence."/state".directories = [ "Downloads" # config.xdg.userDirs.download (infinite recursion) + ".local/share/invokeai" ]; persistence."/persist".directories = [ "projects" "Pictures" # config.xdg.userDirs.pictures (infinite recursion) + "Videos" # This is where I store clips from gpu-screen-recorder-gtk ".config/obsidian" ]; };