nas stuff and upd
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.${namespace}) enabled;
|
||||
inherit (lib.${namespace}) enabled disabled;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -21,7 +21,7 @@ in
|
||||
./sops.nix
|
||||
];
|
||||
|
||||
services.kmscon.enable = false;
|
||||
services.kmscon.enable = true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
|
||||
@@ -36,7 +36,7 @@ in
|
||||
# # Desktop # #
|
||||
# ###################################################
|
||||
|
||||
desktop.cosmic = enabled;
|
||||
desktop.cosmic = disabled;
|
||||
|
||||
# ###################################################
|
||||
# # Development # #
|
||||
@@ -151,6 +151,7 @@ in
|
||||
3000
|
||||
2222
|
||||
8181
|
||||
5432
|
||||
];
|
||||
allowedUDPPorts = config.${namespace}.network.firewall.allowedTCPPorts;
|
||||
};
|
||||
@@ -257,9 +258,6 @@ in
|
||||
|
||||
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-partlabel/disk-main-jallen-nas-cryptroot";
|
||||
|
||||
boot.initrd.systemd.services."unlock-bcachefs-media-nas-main".enable = false;
|
||||
systemd.services."unlock-bcachefs-media-nas-main".enable = false;
|
||||
|
||||
# Configure environment
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
@@ -273,14 +271,12 @@ in
|
||||
ffmpeg
|
||||
ipset
|
||||
keyutils
|
||||
llama-cpp
|
||||
networkmanagerapplet
|
||||
nut
|
||||
packagekit
|
||||
pass
|
||||
protonmail-bridge
|
||||
protonvpn-cli
|
||||
python3Packages.llama-cpp-python
|
||||
qrencode
|
||||
rcon
|
||||
sbctl
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_16;
|
||||
enableTCPIP = true;
|
||||
dataDir = "/media/nas/main/nix-app-data/postgresql";
|
||||
ensureDatabases = [ "authentik" "homeassistant" ];
|
||||
ensureUsers = [
|
||||
|
||||
Reference in New Issue
Block a user