diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-10-09 19:11:52 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-10-09 19:11:52 -0700 |
| commit | f9205e1e963aa2ff9e31f93e80c536aa59f0842e (patch) | |
| tree | 3339280e10b9bebfeac2a092a839f4855b34f9dd /modules/common | |
| parent | fix DNS configuration (diff) | |
| download | infra-f9205e1e963aa2ff9e31f93e80c536aa59f0842e.tar.gz | |
move common modules under modules/
Simplify the import on the various hosts.
Diffstat (limited to 'modules/common')
| -rw-r--r-- | modules/common/default.nix | 2 | ||||
| -rw-r--r-- | modules/common/fish.nix | 4 | ||||
| -rw-r--r-- | modules/common/ssh.nix | 7 |
3 files changed, 13 insertions, 0 deletions
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"; + }; +} |
