diff --git a/machines/default.nix b/machines/default.nix index cc7c468..5d9af1e 100644 --- a/machines/default.nix +++ b/machines/default.nix @@ -8,10 +8,6 @@ inputs: { substituteOnTarget = true; }; }; - eitri = { - system = "aarch64-linux"; - config = import ./eitri/configuration.nix inputs; - }; frigate = { config = import ./frigate/configuration.nix inputs; deploy = { diff --git a/machines/eitri/configuration.nix b/machines/eitri/configuration.nix deleted file mode 100644 index 67e6fd0..0000000 --- a/machines/eitri/configuration.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ nixpkgs, nixos-hardware, ... }: -let - pkgs = import nixpkgs { - system = "aarch64-linux"; - }; -in -{ - imports = [ - "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" - nixos-hardware.nixosModules.raspberry-pi-4 - ../../users/root - ../../users/erwin - ]; - - # fileSystems."/" = { - # device = "/dev/disk/by-label/nixos"; - # fsType = "ext4"; - # options = [ "noatime" ]; - # }; - - eboskma = { - users.erwin = { - enable = true; - }; - base.kernel = pkgs.linuxPackages_rpi4; - desktop.enable = true; - fonts.enable = true; - gnome.enable = true; - greetd.enable = true; - networking.enable = true; - nix-common.enable = true; - sound.enable = true; - systemd.enable = true; - }; - - hardware = { - enableRedistributableFirmware = true; - raspberry-pi."4" = { - fkms-3d.enable = true; - audio.enable = true; - }; - }; - - networking = { - hostName = "eitri"; - networkmanager = { - enable = true; - wifi = { - backend = "iwd"; - powersave = false; - }; - }; - }; - - services.openssh.enable = true; - - environment.systemPackages = with pkgs; [ - raspberrypi-eeprom - ]; - - system.stateVersion = "23.05"; -}