From 5f1c29d90ec7fa97c191bdce9fa91415a36be63c Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 24 Apr 2026 09:07:09 -0500 Subject: [PATCH] test iso --- flake.nix | 4 ++++ modules/features/hyprland.nix | 2 ++ modules/hosts/laptop/configuration.nix | 1 - modules/hosts/z2w/configuration.nix | 0 modules/hosts/z2w/default.nix | 16 ++++++++++++++++ 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 modules/hosts/z2w/configuration.nix create mode 100644 modules/hosts/z2w/default.nix diff --git a/flake.nix b/flake.nix index 1616680..35ae87f 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,10 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + nixos-hardware.url = "github:nix-community/nixos-hardware/master"; + + nixos-opi-zero2w.url = "github:virusdave/nixos-opi-zero2w"; + sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/features/hyprland.nix b/modules/features/hyprland.nix index ab2d231..fdcc035 100644 --- a/modules/features/hyprland.nix +++ b/modules/features/hyprland.nix @@ -22,6 +22,8 @@ portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; }; + + programs.partition-manager.enable = true; }; }; } diff --git a/modules/hosts/laptop/configuration.nix b/modules/hosts/laptop/configuration.nix index cf3ad54..d7302e1 100644 --- a/modules/hosts/laptop/configuration.nix +++ b/modules/hosts/laptop/configuration.nix @@ -48,7 +48,6 @@ }; - programs.partition-manager.enable = true; services.pulseaudio.enable = false; environment.systemPackages = with pkgs; [ diff --git a/modules/hosts/z2w/configuration.nix b/modules/hosts/z2w/configuration.nix new file mode 100644 index 0000000..e69de29 diff --git a/modules/hosts/z2w/default.nix b/modules/hosts/z2w/default.nix new file mode 100644 index 0000000..a0274a3 --- /dev/null +++ b/modules/hosts/z2w/default.nix @@ -0,0 +1,16 @@ +{ self, inputs, ... }: { + + flake.nixosConfigurations."blue-white" = inputs.nixpkgs.lib.nixosSystem { + + system = "aarch64-linux"; + + modules = inputs.nixos-opi-zero2w.lib.withOpiZero2wInstallerEssentials [ + self.nixosModules.z2w + self.nixosModules.z2w-hardware + #self.diskoConfigurations.z2w + ({ ... }: { + networking.hostName = "blue-white"; + }) + ]; + }; +}