Compare commits
6 commits
b1cd6018ba
...
36eed4c3d2
Author | SHA1 | Date | |
---|---|---|---|
|
36eed4c3d2 | ||
|
79034afe61 | ||
|
567e13ec71 | ||
|
2d6a9d9876 | ||
|
84793a16c7 | ||
|
f7fba79b6a |
|
@ -17,6 +17,17 @@ in
|
||||||
# ./open-pgsql.nix
|
# ./open-pgsql.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(
|
||||||
|
self: super: {
|
||||||
|
libbluray = super.libbluray.override {
|
||||||
|
withAACS = true;
|
||||||
|
withBDplus = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.kernelParams = [ "acpi=force" "reboot=bios" ];
|
boot.kernelParams = [ "acpi=force" "reboot=bios" ];
|
||||||
|
@ -60,6 +71,7 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ntfsprogs
|
ntfsprogs
|
||||||
|
smartmontools
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
];
|
];
|
||||||
|
@ -88,9 +100,6 @@ in
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# List services that you want to enable:
|
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -107,11 +116,6 @@ in
|
||||||
4971 # BURP
|
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 = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowReboot = 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 = {
|
security.acme = {
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
@ -14,6 +14,8 @@ in
|
||||||
((lib.toLower config.networking.hostName) + ".lan")
|
((lib.toLower config.networking.hostName) + ".lan")
|
||||||
(lib.toLower config.networking.hostName)
|
(lib.toLower config.networking.hostName)
|
||||||
];
|
];
|
||||||
|
blacklisted_files = [];
|
||||||
|
trashbin_retention_obligation = "auto, 14";
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
|
|
Loading…
Reference in a new issue