aboutsummaryrefslogtreecommitdiff
path: root/hosts/wonderland
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-10 23:47:25 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-11 00:02:35 +0200
commit6ca422c900c1ae7c28457c262f066d161eab591c (patch)
tree895edcbf0d25d38d2fe941aabff985767c9b6f5b /hosts/wonderland
parent5db76aa08e8bd2da91aa110f4229b5d3a6f0bbfd (diff)
hyprdesktop: enable senpai IRC client
Diffstat (limited to 'hosts/wonderland')
-rw-r--r--hosts/wonderland/home.nix8
-rw-r--r--hosts/wonderland/sops.nix6
2 files changed, 11 insertions, 3 deletions
diff --git a/hosts/wonderland/home.nix b/hosts/wonderland/home.nix
index 1d8f3a7..a970261 100644
--- a/hosts/wonderland/home.nix
+++ b/hosts/wonderland/home.nix
@@ -1,4 +1,9 @@
-{ flakeRoot, inputs, ... }:
+{
+ flakeRoot,
+ inputs,
+ config,
+ ...
+}:
{
home-manager = {
useGlobalPkgs = true;
@@ -6,6 +11,7 @@
sharedModules = [ { imports = [ (flakeRoot + /share/cfg) ]; } ];
extraSpecialArgs = {
inherit inputs;
+ inherit (config) sops;
};
};
diff --git a/hosts/wonderland/sops.nix b/hosts/wonderland/sops.nix
index 8c2268f..9b76b24 100644
--- a/hosts/wonderland/sops.nix
+++ b/hosts/wonderland/sops.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ config, ... }:
{
sops = {
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
@@ -15,7 +15,9 @@
# "spotify/username" = {
# mode = "444";
# };
- "irc/libera-password" = { };
+ "irc/libera-password" = {
+ owner = config.users.users.alice.name;
+ };
};
}; # end of sops
}