hass: remove
This commit is contained in:
parent
b38b5249cf
commit
b6d9b9c81a
@ -131,8 +131,6 @@
|
||||
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
|
||||
[ "${nixos-hardware}/common/cpu/intel" ] "hass";
|
||||
luna = buildSys "x86_64-linux" stable
|
||||
[ "${nixos-hardware}/common/cpu/intel" ] "luna";
|
||||
h = buildSys "x86_64-linux" unstableSmall [ ] "h";
|
||||
|
@ -1,41 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
pubKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIPMaAm4rDxyU975Z54YiNw3itC2fGc3SaE2VaS1fai8 root@box"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILnaC1v+VoVNnK04D32H+euiCyWPXU8nX6w+4UoFfjA3 qbit@plq"
|
||||
];
|
||||
userBase = { openssh.authorizedKeys.keys = pubKeys; };
|
||||
in {
|
||||
_module.args.isUnstable = false;
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
#boot.zfs.devNodes = "/dev/";
|
||||
|
||||
networking.hostName = "hass";
|
||||
networking.hostId = "cd47baaf";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eno1.useDHCP = true;
|
||||
networking.interfaces.eno2.useDHCP = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
users.users.root = userBase;
|
||||
users.users.qbit = userBase;
|
||||
|
||||
services = {
|
||||
fwupd = {
|
||||
enable = true;
|
||||
enableTestRemote = true;
|
||||
};
|
||||
};
|
||||
|
||||
preDNS.enable = true;
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
}
|
||||
|
@ -1,95 +0,0 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ehci_pci" "ahci" "megaraid_sas" "usbhid" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/358beab3-354b-4ea5-9699-021ec18b87e5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" = {
|
||||
device = "/dev/disk/by-uuid/359D-9473";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/tank" = {
|
||||
device = "tank";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/backups" = {
|
||||
device = "tank/backups";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media" = {
|
||||
device = "tank/media";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/movies" = {
|
||||
device = "tank/media/movies";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/music" = {
|
||||
device = "tank/media/music";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/tv" = {
|
||||
device = "tank/media/tv";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/downloads" = {
|
||||
device = "tank/media/downloads";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/books" = {
|
||||
device = "tank/media/books";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/media/pictures" = {
|
||||
device = "tank/media/pictures";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/db" = {
|
||||
device = "tank/db";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/tank/git" = {
|
||||
device = "tank/git";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[{ 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
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp65s0f0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp65s0f1.useDHCP = lib.mkDefault true;
|
||||
|
||||
hardware.cpu.intel.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Reference in New Issue
Block a user