mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
Housekeeping
This commit is contained in:
parent
393be96558
commit
f47534c8f3
9 changed files with 11 additions and 11 deletions
|
|
@ -11,7 +11,7 @@
|
|||
prettier.enable = true;
|
||||
just.enable = true;
|
||||
};
|
||||
settings.formatter.nixfmt.excludes = [ "modules/home/shell/aliases.nix" ];
|
||||
settings.formatter.nixfmt.excludes = [ "modules/home/programs/shell/aliases.nix" ];
|
||||
}).config.build.wrapper;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
4
justfile
4
justfile
|
|
@ -28,5 +28,5 @@ install host destination='root@installer':
|
|||
repair:
|
||||
nix-store --verify --check-contents --repair
|
||||
|
||||
repl hostname='$(hostname)':
|
||||
nix repl .#nixosConfigurations.{{ hostname }}
|
||||
repl host='$(hostname)':
|
||||
nix repl .#nixosConfigurations.{{ host }}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ in
|
|||
settings = {
|
||||
server = {
|
||||
DOMAIN = cfg.domain;
|
||||
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}/";
|
||||
ROOT_URL = "https://${cfg.domain}/";
|
||||
HTTP_PORT = cfg.port;
|
||||
LANDING_PAGE = "explore";
|
||||
};
|
||||
|
|
@ -40,7 +40,11 @@ in
|
|||
database.SQLITE_JOURNAL_MODE = "WAL";
|
||||
cache = {
|
||||
ADAPTER = "twoqueue";
|
||||
HOST = ''{"size":100, "recent_ratio":0.25, "ghost_ratio":0.5}'';
|
||||
HOST = builtins.toJSON {
|
||||
size = 100;
|
||||
recent_ratio = 0.25;
|
||||
ghost_ratio = 0.5;
|
||||
};
|
||||
};
|
||||
"repository.signing".DEFAULT_TRUST_MODEL = "committer";
|
||||
security.LOGIN_REMEMBER_DAYS = 365;
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@
|
|||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
AllowUsers = [ config.users.users.forgejo.name ];
|
||||
# https://forgejo.org/docs/latest/admin/recommendations/#git-over-ssh
|
||||
AcceptEnv = "GIT_PROTOCOL";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,15 +1,13 @@
|
|||
{ self, ... }:
|
||||
{ config, self, ... }:
|
||||
{
|
||||
imports = [ self.homeManagerModules.default ];
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
extraConfig.XDG_SCREENSHOTS_DIR = "$HOME/Pictures/Screenshots";
|
||||
extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue