NixOS on Steam Deck OLED
This commit is contained in:
parent
0863fa0dfb
commit
4dedb233de
23 changed files with 375 additions and 108 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
imports = with inputs; [
|
||||
disko.nixosModules.disko
|
||||
disko.nixosModules.default
|
||||
hardware.nixosModules.common-cpu-amd
|
||||
hardware.nixosModules.common-cpu-amd-pstate
|
||||
] ++ [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
|
||||
let hn = config.networking.hostName; in {
|
||||
{
|
||||
networking = {
|
||||
domain = config.constants.domain;
|
||||
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||
|
|
@ -13,21 +13,5 @@ let hn = config.networking.hostName; in {
|
|||
tempAddresses = "disabled";
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
hostKeys = [{
|
||||
comment = "host@${hn}";
|
||||
path = "/etc/ssh/host";
|
||||
rounds = 100;
|
||||
type = "ed25519";
|
||||
}];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
resolved.enable = true;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue