aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2024-08-28 11:42:10 +0300
committerspl3g <spleefer6@yandex.ru>2025-05-01 14:58:56 +0300
commitc1ec2a35dcf3aa920bbd3773ab9a32d2469911ba (patch)
tree9c1ad5891e01641057a3fc0841ee8fc784ce60ae
parent63b330be39794d9372ff55a777f6d6f78cd5c67a (diff)
fix: move postgres to general
-rw-r--r--nixos/general.nix5
-rw-r--r--nixos/pc/configuration.nix4
2 files changed, 4 insertions, 5 deletions
diff --git a/nixos/general.nix b/nixos/general.nix
index 84342a0..142c53b 100644
--- a/nixos/general.nix
+++ b/nixos/general.nix
@@ -52,7 +52,10 @@
};
networking.nftables.enable = true;
- # networking.firewall.enable = false;
+
+ services.postgresql = {
+ enable = true;
+ };
boot.loader = {
systemd-boot.enable = true;
diff --git a/nixos/pc/configuration.nix b/nixos/pc/configuration.nix
index e4cb669..76a4a27 100644
--- a/nixos/pc/configuration.nix
+++ b/nixos/pc/configuration.nix
@@ -21,10 +21,6 @@
displayManager.startx.enable = true;
};
- services.postgresql = {
- enable = true;
- };
-
services.openssh.enable = true;
security.polkit = {
enable = true;