fixed path and setup homemanager
This commit is contained in:
2026-03-25 15:14:05 +01:00
parent 2c122a248d
commit b571698c94
9 changed files with 32 additions and 9 deletions

View File

@@ -2,6 +2,7 @@
{
imports = [
./extras
./services
./themes
];

7
home/extras/default.nix Normal file
View File

@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./sops.nix
];
}

13
home/extras/sops.nix Normal file
View File

@@ -0,0 +1,13 @@
{ ... }:
{
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/etc/sops/keys.txt";
# ── Define Secrets ────────────────────────────────────────────────────
secrets."ssh/private".path = "/home/elias/.ssh/id_rsa";
secrets."ssh/public".path = "/home/elias/.ssh/id_rsa.pub";
};
}

View File

@@ -1,4 +1,5 @@
{
config,
lib,
pkgs,
...

View File

@@ -35,8 +35,9 @@
enable = true;
};
initContent = ''
export LD_LIBRARY_PATH="/nix/store/yjm4j9n85bcp42v5nkz2xifrp4a9s63k-sqlite-3.46.1/lib"o
export LD_LIBRARY_PATH="/nix/store/yjm4j9n85bcp42v5nkz2xifrp4a9s63k-sqlite-3.46.1/lib"
export CHROME_EXECUTABLE="/run/current-system/sw/bin/google-chrome-stable"
export SOPS_AGE_KEY_FILE="/etc/sops/key.txt"
fastfetch
PROMPT='%F{green}%n%f@%F{magenta}%m%f %F{blue}%B%~%b%f %# '