diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:42:01 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:42:01 -0700 |
| commit | 95a17b9769f59e8a471774b027574481d5e62cc4 (patch) | |
| tree | 0ca1015a804c155db023b73748fade3b70e57aa3 /profiles | |
| parent | add nameservers configuration to network profile (diff) | |
| download | infra-95a17b9769f59e8a471774b027574481d5e62cc4.tar.gz | |
profiles for doc, fish, and remove unused profiles
Diffstat (limited to 'profiles')
| -rw-r--r-- | profiles/core/docs.nix | 5 | ||||
| -rw-r--r-- | profiles/core/users.nix | 4 | ||||
| -rw-r--r-- | profiles/nix/nix.nix (renamed from profiles/default.nix) | 5 | ||||
| -rw-r--r-- | profiles/programs/fish.nix | 4 | ||||
| -rw-r--r-- | profiles/server.nix | 12 |
5 files changed, 13 insertions, 17 deletions
diff --git a/profiles/core/docs.nix b/profiles/core/docs.nix new file mode 100644 index 0000000..dcf38e6 --- /dev/null +++ b/profiles/core/docs.nix @@ -0,0 +1,5 @@ +{ lib, ... }: +{ + ## disable that slow "building man-cache" step + documentation.man.generateCaches = lib.mkForce false; +} diff --git a/profiles/core/users.nix b/profiles/core/users.nix index e0d8662..da2c8ff 100644 --- a/profiles/core/users.nix +++ b/profiles/core/users.nix @@ -1,4 +1,8 @@ { ... }: { users.mutableUsers = false; + + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + ]; } diff --git a/profiles/default.nix b/profiles/nix/nix.nix index 6d0af84..f80c808 100644 --- a/profiles/default.nix +++ b/profiles/nix/nix.nix @@ -24,9 +24,4 @@ ]; }; }; - - programs.fish.enable = true; - - ## disable that slow "building man-cache" step - documentation.man.generateCaches = lib.mkForce false; } diff --git a/profiles/programs/fish.nix b/profiles/programs/fish.nix new file mode 100644 index 0000000..21fdf98 --- /dev/null +++ b/profiles/programs/fish.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + programs.fish.enable = true; +} diff --git a/profiles/server.nix b/profiles/server.nix deleted file mode 100644 index 37da0cc..0000000 --- a/profiles/server.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - ... -}: -{ - imports = [ - ./default.nix - ]; - - users.users.root.openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" - ]; -} |
