summaryrefslogtreecommitdiff
path: root/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'configuration')
-rw-r--r--configuration/core/services.nix4
-rw-r--r--configuration/snorlax/default.nix6
2 files changed, 6 insertions, 4 deletions
diff --git a/configuration/core/services.nix b/configuration/core/services.nix
index 9997d71..15da1f4 100644
--- a/configuration/core/services.nix
+++ b/configuration/core/services.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
{
services = {
pipewire = {
@@ -28,7 +28,7 @@
gnome.gnome-keyring.enable = true;
openssh = {
enable = true;
- openFirewall = false;
+ openFirewall = lib.mkDefault false;
settings.AllowUsers = [ "jras" ];
};
};
diff --git a/configuration/snorlax/default.nix b/configuration/snorlax/default.nix
index 61e5902..dd9841c 100644
--- a/configuration/snorlax/default.nix
+++ b/configuration/snorlax/default.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ lib, ... }:
{
imports = [
./disk-config.nix
@@ -19,6 +19,8 @@
PermitRootLogin = "no";
AllowUsers = [ "jras" ];
};
- openFirewall = true;
+ openFirewall = lib.mkForce true;
};
+
+ home-manager.users.jras = { home.stateVersion = "24.11"; };
}