1

Compare commits

...

3 Commits

3 changed files with 15 additions and 11 deletions

View File

@ -661,7 +661,7 @@
indicator = nixosConfig.programs.kdeconnect.enable; indicator = nixosConfig.programs.kdeconnect.enable;
}; };
flatpak = { flatpak = lib.mkIf nixosConfig.services.flatpak.enable {
# FlatHub stable is only added by default if no custom remotes are specified # FlatHub stable is only added by default if no custom remotes are specified
remotes = lib.mkOptionDefault [ remotes = lib.mkOptionDefault [
{ {

View File

@ -340,7 +340,7 @@ with mylib.networking; {
acpid.enable = true; acpid.enable = true;
dbus.enable = true; dbus.enable = true;
flatpak.enable = true; # Not quite the nix style but useful for bottles/proprietary stuff/steam/gaming flatpak.enable = !headless; # Not quite the nix style but useful for bottles/proprietary stuff/steam/gaming
fstrim.enable = true; # SSD fstrim.enable = true; # SSD
fwupd.enable = true; # Device firmware (I don't think I have any supported devices) fwupd.enable = true; # Device firmware (I don't think I have any supported devices)
# locate.enable = true; # Periodically update index # locate.enable = true; # Periodically update index

View File

@ -4,8 +4,11 @@
pkgs, pkgs,
... ...
}: { }: {
users = {
groups.git = {};
# Extra git user for Gitea # Extra git user for Gitea
users.users.git = { users.git = {
uid = 500; uid = 500;
group = "git"; group = "git";
isNormalUser = false; isNormalUser = false;
@ -14,6 +17,7 @@
extraGroups = ["docker" "podman"]; extraGroups = ["docker" "podman"];
shell = pkgs.fish; shell = pkgs.fish;
}; };
};
virtualisation.oci-containers.containers.gitea-db = { virtualisation.oci-containers.containers.gitea-db = {
image = "postgres:14"; image = "postgres:14";