diff options
Diffstat (limited to 'users/grfn/system/system/machines')
-rw-r--r-- | users/grfn/system/system/machines/roswell.nix | 12 | ||||
-rw-r--r-- | users/grfn/system/system/machines/yeren.nix | 9 |
2 files changed, 12 insertions, 9 deletions
diff --git a/users/grfn/system/system/machines/roswell.nix b/users/grfn/system/system/machines/roswell.nix index 6eb4a510b8cd..8f7ed8474200 100644 --- a/users/grfn/system/system/machines/roswell.nix +++ b/users/grfn/system/system/machines/roswell.nix @@ -3,10 +3,13 @@ { imports = [ ../modules/common.nix + ../modules/development.nix "${modulesPath}/installer/scan/not-detected.nix" "${modulesPath}/virtualisation/amazon-image.nix" ]; + system.stateVersion = "22.05"; + ec2.hvm = true; networking.hostName = "roswell"; @@ -14,4 +17,13 @@ users.users.grfn.openssh.authorizedKeys.keys = [ depot.users.grfn.keys.main ]; + + boot.loader.systemd-boot.enable = lib.mkForce false; + boot.loader.efi.canTouchEfiVariables = lib.mkForce false; + + services.openssh.passwordAuthentication = false; + + services.tailscale.enable = true; + + security.sudo.wheelNeedsPassword = false; } diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix index 228631c8cc6f..847adf01e9da 100644 --- a/users/grfn/system/system/machines/yeren.nix +++ b/users/grfn/system/system/machines/yeren.nix @@ -105,15 +105,6 @@ systemd.services.fprintd.environment.FP_TOD_DRIVERS_DIR = "${pkgs.libfprint-2-tod1-goodix}/usr/lib/libfprint-2/tod-1"; - security.pam.loginLimits = [ - { - domain = "grfn"; - type = "soft"; - item = "nofile"; - value = "65535"; - } - ]; - security.pam.services = { login.fprintAuth = true; sudo.fprintAuth = true; |