hass: re-enable

This commit is contained in:
Aaron Bieber 2022-09-08 11:29:46 -06:00
parent 0568817196
commit 08b4d12e21
No known key found for this signature in database
4 changed files with 18 additions and 10 deletions

View File

@ -131,7 +131,8 @@
box = buildSys "x86_64-linux" stable [ ] "box";
europa = buildSys "x86_64-linux" unstable [ ] "europa";
faf = buildSys "x86_64-linux" stable [ ] "faf";
hass = buildSys "x86_64-linux" stable [ ] "hass";
hass = buildSys "x86_64-linux" stable
[ "${nixos-hardware}/common/cpu/intel" ] "hass";
h = buildSys "x86_64-linux" unstableSmall [ ] "h";
stan = buildSys "x86_64-linux" unstable
[ nixos-hardware.nixosModules.framework ] "stan";

1
hosts/hass/alias Normal file
View File

@ -0,0 +1 @@
10.6.0.111

View File

@ -1,9 +1,7 @@
{ config, pkgs, ... }:
let
pubKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFbj3DNho0T/SLcuKPzxT2/r8QNdEQ/ms6tRiX6YraJk root@tal.tapenet.org"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIPMaAm4rDxyU975Z54YiNw3itC2fGc3SaE2VaS1fai8 root@box"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIITjFpmWZVWixv2i9902R+g5B8umVhaqmjYEKs2nF3Lu qbit@tal.tapenet.org"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILnaC1v+VoVNnK04D32H+euiCyWPXU8nX6w+4UoFfjA3 qbit@plq"
];
userBase = { openssh.authorizedKeys.keys = pubKeys; };
@ -13,6 +11,7 @@ in {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
#boot.supportedFilesystems = [ "zfs" ];
#boot.zfs.devNodes = "/dev/";
@ -21,15 +20,22 @@ in {
networking.hostId = "cd47baaf";
networking.useDHCP = false;
#networking.interfaces.enp1s0.useDHCP = true;
#networking.interfaces.enp2s0.useDHCP = true;
networking.interfaces.eno1.useDHCP = true;
networking.interfaces.eno2.useDHCP = true;
networking.firewall.allowedTCPPorts = [ 22 ];
users.users.root = userBase;
users.users.qbit = userBase;
dnsOverTLS.enable = true;
services = {
fwupd = {
enable = true;
enableTestRemote = true;
};
};
preDNS.enable = true;
system.stateVersion = "22.05"; # Did you read the comment?
}

View File

@ -20,17 +20,17 @@
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/38318896-9ce1-4ede-a599-9a7d2feb31a1";
device = "/dev/disk/by-uuid/358beab3-354b-4ea5-9699-021ec18b87e5";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/57D7-FFCF";
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/359D-9473";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/b3d27f92-fbf2-4560-a113-2165201fa8b8"; }];
[{ device = "/dev/disk/by-uuid/c3980b41-68c9-4158-8d51-ecb5c5c583b3"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's