mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: many things...
This commit is contained in:
parent
3fe6f591e1
commit
0778f24b18
22 changed files with 842 additions and 153 deletions
|
|
@ -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";}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue