From 7aa912237697c08537688cc4d13d75bff819f7aa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 08:03:36 -0700 Subject: profiles/default: more consolidation --- modules/system/security/default.nix | 8 -------- modules/system/security/ssh.nix | 17 ----------------- 2 files changed, 25 deletions(-) delete mode 100644 modules/system/security/default.nix delete mode 100644 modules/system/security/ssh.nix (limited to 'modules/system/security') diff --git a/modules/system/security/default.nix b/modules/system/security/default.nix deleted file mode 100644 index debcd9e..0000000 --- a/modules/system/security/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ ... }: - -{ - imports = [ ./ssh.nix ]; - - security.sudo.wheelNeedsPassword = false; - security.polkit.enable = true; -} diff --git a/modules/system/security/ssh.nix b/modules/system/security/ssh.nix deleted file mode 100644 index 14cbf5d..0000000 --- a/modules/system/security/ssh.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ ... }: - -{ - programs.ssh = { - # $ ssh-keyscan example.com - knownHosts = { - github = { - hostNames = [ "github.com" ]; - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; - }; - rsync = { - hostNames = [ "de2664.rsync.net" ]; - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIObQN4P/deJ/k4P4kXh6a9K4Q89qdyywYetp9h3nwfPo"; - }; - }; - }; -} -- cgit 1.4.1