ICH HABE SOPS-NIX ANGEMACHT.

That was some headbreaker. A path in nix is not a string, quotes are not
good. See sops.defaultSopsFile.

This was a very important last puzzle piece. Finally.
This commit is contained in:
Markus Heurung 2024-03-18 20:29:06 +01:00
parent 6427cf36d8
commit 8106fbb14d
7 changed files with 118 additions and 21 deletions

View file

@ -2,6 +2,9 @@
{
home.username = "muhh";
home.homeDirectory = "/home/muhh";
home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] ''
/run/current-system/sw/bin/systemctl start --user sops-nix
'';
home.packages = with pkgs; [
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
@ -25,6 +28,7 @@
neovide
(nerdfonts.override { fonts = [ "Iosevka" ]; })
obsidian
powertop
qutebrowser
solargraph
tmux
@ -249,6 +253,7 @@
ignorecase = true;
number = true;
relativenumber = true;
ruler = true;
shiftwidth = 2;
smartcase = true;
tabstop = 2;
@ -281,9 +286,7 @@
closeIfLastWindow = true;
};
nix.enable = true;
noice = {
enable = true;
};
noice.enable = true;
notify.enable = true;
nvim-autopairs.enable = true;
nvim-colorizer.enable = true;
@ -358,6 +361,14 @@
};
};
sops = {
age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
defaultSopsFile = ./secrets/secrets.yaml;
secrets = {
just_a_test = {};
};
};
wayland.windowManager = {
sway = {
enable = true;