Compare commits
3 Commits
264dcecd1a
...
62c3ce5f4a
| Author | SHA1 | Date | |
|---|---|---|---|
|
62c3ce5f4a
|
|||
|
b2a0a8b95e
|
|||
|
e9c1df7bf3
|
@ -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 [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -4,15 +4,19 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Extra git user for Gitea
|
users = {
|
||||||
users.users.git = {
|
groups.git = {};
|
||||||
uid = 500;
|
|
||||||
group = "git";
|
# Extra git user for Gitea
|
||||||
isNormalUser = false;
|
users.git = {
|
||||||
isSystemUser = true;
|
uid = 500;
|
||||||
description = "Gitea User";
|
group = "git";
|
||||||
extraGroups = ["docker" "podman"];
|
isNormalUser = false;
|
||||||
shell = pkgs.fish;
|
isSystemUser = true;
|
||||||
|
description = "Gitea User";
|
||||||
|
extraGroups = ["docker" "podman"];
|
||||||
|
shell = pkgs.fish;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.gitea-db = {
|
virtualisation.oci-containers.containers.gitea-db = {
|
||||||
|
|||||||
Reference in New Issue
Block a user