diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-06 23:40:02 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-02-07 09:59:54 +0100 |
commit | e3c68d04828856b8ddba3d91cdb0863f5a7ae79a (patch) | |
tree | d1e8a60e546433c297c65ef4cbd66a4b97828352 /configuration | |
parent | fae1e278a82d74f54c54ffe852ca8b2c5e707c00 (diff) |
blaosdb
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration/core/services.nix | 4 | ||||
-rw-r--r-- | configuration/snorlax/default.nix | 6 |
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"; }; } |