diff --git a/derivations/universe_secrets.nix b/derivations/universe_secrets.nix deleted file mode 100644 index 7291f38..0000000 --- a/derivations/universe_secrets.nix +++ /dev/null @@ -1,27 +0,0 @@ -# Universe - The big bang to my universe -# -# Copyright (c) 2023-2024 Sameer Rahmani -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, version 2. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -{ lib, stdenv, runCommand, gpg_public_key, fingerprint, user, gnupg }: -runCommand "universe-secrets-${user}" { } '' - mkdir -p $out/build - - ${gnupg}/bin/gpg --homedir $out/build -k - echo '${fingerprint}:6' | ${gnupg}/bin/gpg --homedir $out/build --import-ownertrust - ${gnupg}/bin/gpg --homedir $out/build --import ${gpg_public_key} - - mv -v $out/build/pubring.kbx $out/build/trustdb.gpg $out/ - echo 'disable-ccid' > $out/scdaemon.conf - rm -rf $out/build -'' diff --git a/flake.lock b/flake.lock index e5ea955..9ef8a73 100644 --- a/flake.lock +++ b/flake.lock @@ -238,11 +238,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1709591737, - "narHash": "sha256-R0eaG1RDOBsAgnDKrG+WSBxDHi2+M3Qo918415JwZoM=", + "lastModified": 1710021649, + "narHash": "sha256-erHUBiFoe08pi2wlg6PGcSTrhtt3OrE8KxohJOBV/Zc=", "ref": "v4", - "rev": "248fbdf082ac9fb45c360aafcc7691436792aa12", - "revCount": 1049, + "rev": "70f14f5928c6cffb3be81784425b57d984a00acd", + "revCount": 1050, "type": "git", "url": "https://devheroes.codes/FG42/FG42" }, diff --git a/users/lxsameer/default.nix b/users/lxsameer/default.nix index 185a5e8..f115410 100644 --- a/users/lxsameer/default.nix +++ b/users/lxsameer/default.nix @@ -39,7 +39,7 @@ rec { # (r)age by default can't find age-plugin-yubikey during the configuration # this is a wrapper to force age-plugin-yubikey into its PATH age.ageBin = "${rager}/bin/rager"; - environment.systemPackages = builtins.trace ">> ${rager}" [ + environment.systemPackages = [ (inputs.agenix.packages.x86_64-linux.default.override { ageBin = "${rager}/bin/rager"; }) ]; diff --git a/users/lxsameer/desktop.nix b/users/lxsameer/desktop.nix index ae746ee..6ad3526 100644 --- a/users/lxsameer/desktop.nix +++ b/users/lxsameer/desktop.nix @@ -386,4 +386,5 @@ storePath = "$HOME/.pass_store"; }; + services.ssh-agent.enable = true; } diff --git a/users/mary/desktop.nix b/users/mary/desktop.nix index 22b70d9..8c927c1 100644 --- a/users/mary/desktop.nix +++ b/users/mary/desktop.nix @@ -341,4 +341,6 @@ qt = { platformTheme = "gtk"; }; + + services.ssh-agent.enable = true; }