From f9205e1e963aa2ff9e31f93e80c536aa59f0842e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Oct 2025 19:11:52 -0700 Subject: move common modules under modules/ Simplify the import on the various hosts. --- modules/common/default.nix | 2 ++ modules/common/fish.nix | 4 ++++ modules/common/ssh.nix | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 modules/common/fish.nix create mode 100644 modules/common/ssh.nix (limited to 'modules/common') diff --git a/modules/common/default.nix b/modules/common/default.nix index b42a079..5a0da5f 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -1,7 +1,9 @@ { ... }: { imports = [ + ./fish.nix ./home.nix ./host-config.nix + ./ssh.nix ]; } diff --git a/modules/common/fish.nix b/modules/common/fish.nix new file mode 100644 index 0000000..21fdf98 --- /dev/null +++ b/modules/common/fish.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + programs.fish.enable = true; +} diff --git a/modules/common/ssh.nix b/modules/common/ssh.nix new file mode 100644 index 0000000..3e975ee --- /dev/null +++ b/modules/common/ssh.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + programs.ssh.knownHosts = { + "github.com".publicKey = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; + }; +} -- cgit v1.2.3