+2
-1
.sops.nix
+2
-1
.sops.nix
+6
-7
global/programs/nix/config.nix
+6
-7
global/programs/nix/config.nix
···
47
47
dates = "weekly";
48
48
};
49
49
50
-
nix.registry =
51
-
{
52
-
n.flake = inputs.nixpkgs;
53
-
}
54
-
// (builtins.mapAttrs (_: flake: { inherit flake; }) (
55
-
lib.filterAttrs (n: _: n != "nixpkgs") inputs
56
-
));
50
+
nix.registry = {
51
+
n.flake = inputs.nixpkgs;
52
+
}
53
+
// (builtins.mapAttrs (_: flake: { inherit flake; }) (
54
+
lib.filterAttrs (n: _: n != "nixpkgs") inputs
55
+
));
57
56
58
57
# nix-index[-database]
59
58
programs.nix-index.enable = true;
+2
-1
global/utils.nix
+2
-1
global/utils.nix
···
113
113
builtins.addErrorContext "while generating sops template ${file}" {
114
114
sops.templates.${file} = {
115
115
inherit content;
116
-
} // (builtins.removeAttrs config [ "content" ]);
116
+
}
117
+
// (builtins.removeAttrs config [ "content" ]);
117
118
# // (lib.optionalAttrs (builtins.hasAttr "owner" config) {inherit (config) owner;})
118
119
# // (lib.optionalAttrs (builtins.hasAttr "group" config) {inherit (config) group;});
119
120
};
+4
-2
systems/ryo/services/thefunny.nix
+4
-2
systems/ryo/services/thefunny.nix
···
44
44
RuntimeDirectory = "funny";
45
45
Restart = "on-failure";
46
46
RestartSec = "1";
47
-
} // serviceHardening;
47
+
}
48
+
// serviceHardening;
48
49
path = with pkgs; [
49
50
cage
50
51
feh
···
70
71
ExecStart = "${lib.getExe pkgs.wayvnc} -d 0.0.0.0";
71
72
Restart = "on-failure";
72
73
RestartSec = "1";
73
-
} // serviceHardening;
74
+
}
75
+
// serviceHardening;
74
76
environment = {
75
77
WAYLAND_DISPLAY = "wayland-0";
76
78
XDG_RUNTIME_DIR = "%t/funny";