mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
koishi: old changes
This commit is contained in:
parent
7fe40a8cbb
commit
84ec8cbec6
1 changed files with 5 additions and 19 deletions
|
|
@ -10,12 +10,14 @@ _: let
|
||||||
common-pc-laptop-ssd
|
common-pc-laptop-ssd
|
||||||
]
|
]
|
||||||
++ (with tree.nixos.roles; [
|
++ (with tree.nixos.roles; [
|
||||||
sway
|
graphical
|
||||||
|
gnome
|
||||||
laptop
|
laptop
|
||||||
])
|
])
|
||||||
++ (with tree; [
|
++ (with tree; [
|
||||||
kat.gui
|
kat.gui
|
||||||
kat.sway
|
kat.gnome
|
||||||
|
kat.vscodium
|
||||||
]);
|
]);
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
|
@ -29,23 +31,7 @@ _: let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh = {
|
networking.networkmanager.wifi.backend = "iwd";
|
||||||
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}-osh-ed25519-cert
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{device = "/dev/disk/by-uuid/0d846453-95b4-46e1-8eaf-b910b4321ef0";}
|
{device = "/dev/disk/by-uuid/0d846453-95b4-46e1-8eaf-b910b4321ef0";}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue