Compare commits
	
		
			6 commits
		
	
	
		
			b1cd6018ba
			...
			36eed4c3d2
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 36eed4c3d2 | |||
| 79034afe61 | |||
| 567e13ec71 | |||
| 2d6a9d9876 | |||
| 84793a16c7 | |||
| f7fba79b6a | 
					 2 changed files with 30 additions and 8 deletions
				
			
		|  | @ -17,6 +17,17 @@ in | |||
|         # ./open-pgsql.nix | ||||
|     ]; | ||||
| 
 | ||||
|     nixpkgs.overlays = [ | ||||
|         ( | ||||
|             self: super: { | ||||
|                 libbluray = super.libbluray.override { | ||||
|                     withAACS = true; | ||||
|                     withBDplus = true; | ||||
|                 }; | ||||
|             } | ||||
|         ) | ||||
|     ]; | ||||
| 
 | ||||
|     boot.loader.systemd-boot.enable = true; | ||||
|     boot.loader.efi.canTouchEfiVariables = true; | ||||
|     boot.kernelParams = [ "acpi=force" "reboot=bios" ]; | ||||
|  | @ -60,6 +71,7 @@ in | |||
| 
 | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|         ntfsprogs | ||||
|         smartmontools | ||||
|         texlive.combined.scheme-full | ||||
|         ncmpcpp | ||||
|     ]; | ||||
|  | @ -88,9 +100,6 @@ in | |||
|         enableSSHSupport = true; | ||||
|     }; | ||||
| 
 | ||||
|     # List services that you want to enable: | ||||
| 
 | ||||
|     # Enable the OpenSSH daemon. | ||||
|     services.openssh = { | ||||
|         enable = true; | ||||
|         settings = { | ||||
|  | @ -107,11 +116,6 @@ in | |||
|         4971  # BURP | ||||
|     ]; | ||||
| 
 | ||||
|     # Copy the NixOS configuration file and link it from the resulting system | ||||
|     # (/run/current-system/configuration.nix). This is useful in case you | ||||
|     # accidentally delete configuration.nix. | ||||
|     # system.copySystemConfiguration = true; | ||||
| 
 | ||||
|     system.autoUpgrade = { | ||||
|         enable = true; | ||||
|         allowReboot = true; | ||||
|  | @ -135,6 +139,22 @@ in | |||
|             }; | ||||
|         }; | ||||
|     }; | ||||
|     services.beesd = { | ||||
|         filesystems = { | ||||
|             "data" = { | ||||
|                 spec = "/data"; | ||||
|                 hashTableSizeMB = 1024; | ||||
|                 verbosity = "alert"; | ||||
|             }; | ||||
|             "backup-disk" = { | ||||
|                 spec = "/mnt/backup"; | ||||
|                 hashTableSizeMB = 1024; | ||||
|                 verbosity = "alert"; | ||||
|             }; | ||||
|         }; | ||||
|     }; | ||||
|     # Don’t start automatically | ||||
|     systemd.services."beesd@backup-disk".wantedBy = lib.mkForce []; | ||||
| 
 | ||||
|     security.acme = { | ||||
|         defaults = { | ||||
|  |  | |||
|  | @ -14,6 +14,8 @@ in | |||
|                 ((lib.toLower config.networking.hostName) + ".lan") | ||||
|                 (lib.toLower config.networking.hostName) | ||||
|             ]; | ||||
|             blacklisted_files = []; | ||||
|             trashbin_retention_obligation = "auto, 14"; | ||||
|         }; | ||||
|         config = { | ||||
|             dbtype = "pgsql"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue