From 38397e271bc9b67397042c3b2ef185ed8e381467 Mon Sep 17 00:00:00 2001 From: emily Date: Sun, 17 Nov 2024 16:48:57 +0100 Subject: [PATCH] sears: add nil --- config/common/default.nix | 1 + config/hosts/seras/configuration.nix | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/common/default.nix b/config/common/default.nix index 1b33d66..0168cab 100644 --- a/config/common/default.nix +++ b/config/common/default.nix @@ -23,6 +23,7 @@ in { man-pages-posix unzip zip + fd figlet ]; programs = { diff --git a/config/hosts/seras/configuration.nix b/config/hosts/seras/configuration.nix index 368b4b0..7dd5ee9 100644 --- a/config/hosts/seras/configuration.nix +++ b/config/hosts/seras/configuration.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ pkgs, ... }: { imports = [ ../../common ../../profiles/builder.nix @@ -18,6 +18,16 @@ ]; }; + users.users.nil = { + isNormalUser = true; + shell = pkgs.fish; + ignoreShellProgramCheck = true; + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ + "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAICczPHRwY9MAwDGlcB0QgMOJjcpLJhVU3covrW9RBS62AAAABHNzaDo=" + ]; + }; + services.postgresql.settings = { max_connections = 200; shared_buffers = "24GB";