From c33b9513043575f3caa1a5afbbded0ed259f86c9 Mon Sep 17 00:00:00 2001 From: osbm Date: Wed, 26 Feb 2025 01:26:41 +0300 Subject: [PATCH] cleanup on isle 6 --- flake.nix | 17 +++-------------- hosts/harmonica/configuration.nix | 1 - hosts/pochita-sd/configuration.nix | 6 +++++- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index c4a5f3b..3804fd2 100644 --- a/flake.nix +++ b/flake.nix @@ -46,12 +46,6 @@ outputs = { self, nixpkgs, - vscode-server, - agenix, - osbm-nvim, - home-manager, - raspberry-pi-nix, - nixos-hardware, nix-on-droid, ... } @ inputs: let @@ -68,20 +62,15 @@ }; harmonica = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; - modules = [ - ./hosts/harmonica/configuration.nix - ]; + modules = [./hosts/harmonica/configuration.nix]; }; pochita = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; modules = [./hosts/pochita/configuration.nix]; }; pochita-sd = nixpkgs.lib.nixosSystem { - modules = [ - ./hosts/pochita-sd/configuration.nix - raspberry-pi-nix.nixosModules.raspberry-pi - raspberry-pi-nix.nixosModules.sd-image - ]; + specialArgs = {inherit inputs outputs;}; + modules = [./hosts/pochita-sd/configuration.nix]; }; myISO = nixpkgs.lib.nixosSystem { modules = [ diff --git a/hosts/harmonica/configuration.nix b/hosts/harmonica/configuration.nix index a1d1d21..dfe7fd2 100644 --- a/hosts/harmonica/configuration.nix +++ b/hosts/harmonica/configuration.nix @@ -1,5 +1,4 @@ { - config, lib, inputs, ... diff --git a/hosts/pochita-sd/configuration.nix b/hosts/pochita-sd/configuration.nix index f09ae4b..7b5815d 100644 --- a/hosts/pochita-sd/configuration.nix +++ b/hosts/pochita-sd/configuration.nix @@ -1,8 +1,12 @@ { pkgs, - lib, + inputs, ... }: { + imports = [ + inputs.raspberry-pi-nix.nixosModules.raspberry-pi + inputs.raspberry-pi-nix.nixosModules.sd-image + ]; # bcm2711 for rpi 3, 3+, 4, zero 2 w # bcm2712 for rpi 5 # See the docs at: