feat: many things...

This commit is contained in:
Kat Inskip 2023-02-12 05:49:50 -08:00
parent 3fe6f591e1
commit 0778f24b18
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
22 changed files with 842 additions and 153 deletions

View file

@ -1,5 +1,5 @@
_: let
hostConfig = {tree, pkgs, ...}: {
hostConfig = {config, tree, pkgs, ...}: {
imports = with tree; [
nixos.gui
nixos.bootable
@ -17,6 +17,24 @@ _: let
};
};
services.openssh = {
hostKeys = [
{
bits = 4096;
path = "/var/lib/secrets/${config.networking.hostName}-osh-pk";
type = "rsa";
}
{
path = "/var/lib/secrets/${config.networking.hostName}-ed25519-osh-pk";
type = "ed25519";
}
];
extraConfig = ''
HostCertificate /var/lib/secrets/${config.networking.hostName}-osh-cert
HostCertificate /var/lib/secrets/${config.networking.hostName}-ed25519-osh-cert
'';
};
swapDevices = [
{device = "/dev/disk/by-uuid/0d846453-95b4-46e1-8eaf-b910b4321ef0";}
];

View file

@ -30,6 +30,7 @@ _: let
casks = [
"utm"
"discord"
"barrier"
"mullvadvpn"
"bitwarden"
"deluge"
@ -44,7 +45,7 @@ _: let
"cyberduck"
"docker"
"pycharm-ce"
"vscode"
"vscodium"
"slack"
"boop"
"obsidian"