style: autoformat

Changed files
+14 -11
global
programs
systems
ryo
services
+2 -1
.sops.nix
···
# admin
age.soopyc_pxl7ag
age.soopyc_mbp14
-
] ++ identities;
+
]
+
++ identities;
}
];
};
+6 -7
global/programs/nix/config.nix
···
dates = "weekly";
};
-
nix.registry =
-
{
-
n.flake = inputs.nixpkgs;
-
}
-
// (builtins.mapAttrs (_: flake: { inherit flake; }) (
-
lib.filterAttrs (n: _: n != "nixpkgs") inputs
-
));
+
nix.registry = {
+
n.flake = inputs.nixpkgs;
+
}
+
// (builtins.mapAttrs (_: flake: { inherit flake; }) (
+
lib.filterAttrs (n: _: n != "nixpkgs") inputs
+
));
# nix-index[-database]
programs.nix-index.enable = true;
+2 -1
global/utils.nix
···
builtins.addErrorContext "while generating sops template ${file}" {
sops.templates.${file} = {
inherit content;
-
} // (builtins.removeAttrs config [ "content" ]);
+
}
+
// (builtins.removeAttrs config [ "content" ]);
# // (lib.optionalAttrs (builtins.hasAttr "owner" config) {inherit (config) owner;})
# // (lib.optionalAttrs (builtins.hasAttr "group" config) {inherit (config) group;});
};
+4 -2
systems/ryo/services/thefunny.nix
···
RuntimeDirectory = "funny";
Restart = "on-failure";
RestartSec = "1";
-
} // serviceHardening;
+
}
+
// serviceHardening;
path = with pkgs; [
cage
feh
···
ExecStart = "${lib.getExe pkgs.wayvnc} -d 0.0.0.0";
Restart = "on-failure";
RestartSec = "1";
-
} // serviceHardening;
+
}
+
// serviceHardening;
environment = {
WAYLAND_DISPLAY = "wayland-0";
XDG_RUNTIME_DIR = "%t/funny";