From 2b0e8f4306b8580f54531da1b4e6e5c1e891e02b Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 8 Jan 2025 23:55:09 -0800 Subject: iso.nix --- flake.nix | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6ce5656..5595eb0 100644 --- a/flake.nix +++ b/flake.nix @@ -30,31 +30,11 @@ nixosConfigurations = { live = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = attrs; modules = [ - { nixpkgs.overlays = [ nur.overlays.default ]; } - ({ pkgs, ... }: - let - nur-no-pkgs = import nur { - inherit pkgs; - nurpkgs = import nixpkgs { system = "x86_64-linux"; }; - }; - in - { - imports = [ ]; - }) - (nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix") - ./configuration.nix - disko.nixosModules.disko - home-manager.nixosModules.home-manager - { - home-manager = { - useGlobalPkgs = true; - extraSpecialArgs = attrs; - useUserPackages = true; - users.preston = import ./home.nix; - }; - } + ({pkgs, modulesPath, ...}: { + imports = [(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")]; + }) + ./iso.nix ]; }; @@ -76,6 +56,7 @@ lanzaboote.nixosModules.lanzaboote ./configuration.nix disko.nixosModules.disko + ./disk-config.nix home-manager.nixosModules.home-manager { home-manager = { -- cgit