lol
This commit is contained in:
parent
4c51ad0198
commit
e51e8341f5
2 changed files with 16 additions and 4 deletions
|
@ -83,7 +83,10 @@
|
||||||
MAX_FILES = 20;
|
MAX_FILES = 20;
|
||||||
};
|
};
|
||||||
|
|
||||||
settings.service.DISABLE_REGISTRATION = true;
|
settings.service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||||
|
};
|
||||||
database = {
|
database = {
|
||||||
user = "forgejo";
|
user = "forgejo";
|
||||||
passwordFile = "/etc/nixos/forgejo-dbpassword";
|
passwordFile = "/etc/nixos/forgejo-dbpassword";
|
||||||
|
@ -124,7 +127,16 @@
|
||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
system.stateVersion = "24.05"; # Did you read the comment?
|
||||||
|
|
||||||
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
allowReboot = true;
|
||||||
|
};
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
persistent = true;
|
||||||
|
options = "--delete-older-than 8d";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
description = "Forgejo flake";
|
description = "Forgejo flake";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs }@inputs: {
|
outputs = { self, nixpkgs }@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
Loading…
Reference in a new issue