Compare commits

..

3 Commits

Author SHA1 Message Date
Noah Masur
e7468ecc46 fix: swan globals not included 2023-03-20 03:36:15 +00:00
Noah Masur
1b798f5af0 grant permissions to service directories 2023-03-20 03:35:54 +00:00
Noah Masur
4406116203 adjust fan curve 2023-03-19 23:35:06 -04:00
4 changed files with 14 additions and 4 deletions

View File

@ -12,6 +12,7 @@ nixpkgs.lib.nixosSystem {
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/common ../../modules/common
../../modules/nixos ../../modules/nixos
globals
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
disko.nixosModules.disko disko.nixosModules.disko

View File

@ -46,10 +46,11 @@
DEVNAME=hwmon0=amdgpu DEVNAME=hwmon0=amdgpu
FCTEMPS=hwmon0/pwm1=hwmon0/temp1_input FCTEMPS=hwmon0/pwm1=hwmon0/temp1_input
FCFANS= hwmon0/pwm1=hwmon0/fan1_input FCFANS= hwmon0/pwm1=hwmon0/fan1_input
MINTEMP=hwmon0/pwm1=30 MINTEMP=hwmon0/pwm1=50
MAXTEMP=hwmon0/pwm1=70 MAXTEMP=hwmon0/pwm1=70
MINSTART=hwmon0/pwm1=150 MINSTART=hwmon0/pwm1=100
MINSTOP=hwmon0/pwm1=12 MINSTOP=hwmon0/pwm1=10
MINPWM=hwmon0/pwm1=12 MINPWM=hwmon0/pwm1=10
MAXPWM=hwmon0/pwm1=240
''; '';
} }

View File

@ -15,6 +15,11 @@
services.bazarr.enable = true; services.bazarr.enable = true;
services.prowlarr.enable = true; services.prowlarr.enable = true;
# Grant users access to destination directories
users.users.sonarr.extraGroups = [ "jellyfin" ];
users.users.radarr.extraGroups = [ "jellyfin" ];
users.users.bazarr.extraGroups = [ "jellyfin" ];
# Requires updating the base_url config value in each service # Requires updating the base_url config value in each service
# If you try to rewrite the URL, the service won't redirect properly # If you try to rewrite the URL, the service won't redirect properly
caddy.routes = [ caddy.routes = [

View File

@ -41,6 +41,9 @@ in {
}]; }];
}]; }];
# Grant user access to Calibre directories
users.users.${config.user}.extraGroups = [ "calibre-web" ];
# Run a backup on a schedule # Run a backup on a schedule
systemd.timers.calibre-backup = lib.mkIf config.backups.calibre { systemd.timers.calibre-backup = lib.mkIf config.backups.calibre {
timerConfig = { timerConfig = {