Remove bachtel
This commit is contained in:
parent
eab144ad69
commit
46da102e95
3 changed files with 0 additions and 110 deletions
|
@ -1,49 +0,0 @@
|
||||||
{ config, pkgs, threemaModules, ... }: {
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./networking.nix
|
|
||||||
./filesystems.nix
|
|
||||||
../../defaults/base
|
|
||||||
../../defaults/hardware/apu.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
# time.timeZone = "Europe/Amsterdam";
|
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
||||||
# users.users.jane = {
|
|
||||||
# isNormalUser = true;
|
|
||||||
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|
||||||
# };
|
|
||||||
|
|
||||||
services.home-assistant = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.home-assistant.override {
|
|
||||||
extraPackages = python3Packages: with python3Packages; [ psycopg2 ];
|
|
||||||
extraComponents = [ "default_config" "esphome" "met" ];
|
|
||||||
};
|
|
||||||
openFirewall = true;
|
|
||||||
extraComponents = [ "xiaomi_miio" ];
|
|
||||||
config = {
|
|
||||||
homeassistant = {
|
|
||||||
name = "Home";
|
|
||||||
latitude = "!secret latitude";
|
|
||||||
longitude = "!secret longitude";
|
|
||||||
elevation = "!secret elevation";
|
|
||||||
unit_system = "metric";
|
|
||||||
time_zone = "UTC";
|
|
||||||
};
|
|
||||||
frontend = { themes = "!include_dir_merge_named themes"; };
|
|
||||||
http = { };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like fi:le locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
{ config, pkgs, threemaModules, ... }: {
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/360a6bc9-fc4e-4803-bd53-69320ac32ac5";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "defaults" "subvol=nixos" "noatime" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[{ device = "/dev/disk/by-uuid/73f91e99-d856-4504-b6b2-d60f855d6d95"; }];
|
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.version = 2;
|
|
||||||
# boot.loader.grub.efiSupport = true;
|
|
||||||
# boot.loader.grub.efiInstallAsRemovable = true;
|
|
||||||
# boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
||||||
# Define on which hard drive you want to install Grub.
|
|
||||||
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
{ config, pkgs, threemaModules, ... }: {
|
|
||||||
|
|
||||||
services.qois.wwan = {
|
|
||||||
enable = true;
|
|
||||||
apn = "gprs.swisscom.ch";
|
|
||||||
networkInterface = "wwp0s19u1u3i12";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.qois.router = {
|
|
||||||
enable = true;
|
|
||||||
wirelessInterfaces = [ "wlp5s0" ];
|
|
||||||
lanInterfaces = [ "enp2s0" "enp3s0" "enp4s0" ];
|
|
||||||
internalRouterIP = "10.2.1.1";
|
|
||||||
dhcp = {
|
|
||||||
enable = true;
|
|
||||||
localDomain = "iot-bachtel-lan.net.fh2.ch";
|
|
||||||
dhcpRange = "10.2.1.2,10.2.1.249";
|
|
||||||
};
|
|
||||||
#recursiveDns = {
|
|
||||||
# enable = true;
|
|
||||||
# networkIdIp = "10.2.1.0";
|
|
||||||
#};
|
|
||||||
wireless = {
|
|
||||||
enable = true;
|
|
||||||
wleInterface24Ghz = "wlp5s0";
|
|
||||||
#wleInterface5Ghz = "wlp5s0";
|
|
||||||
ssid = "jona-iot";
|
|
||||||
passphrase = "vrzjYq36xA";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = "bachtel"; # Define your hostname.
|
|
||||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
||||||
#networking.wireless.networks = {
|
|
||||||
# yummi = {
|
|
||||||
# psk = "cookies!";
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
networking.interfaces.enp1s0.useDHCP = true;
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue