From 3278e02f9c08f91d423a611d28d2eec2f1999ba6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 27 Mar 2024 10:14:27 -0700 Subject: some changes --- flake.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3e4fa78..717ff18 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,33 @@ outputs = { self, nixpkgs, home-manager, nur, disko, wallpapers, sops-nix, scripts, ... }@attrs: { nixosConfigurations = { + live = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = attrs; + modules = [ + { nixpkgs.overlays = [ nur.overlay ]; } + ({ 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; + home-manager.extraSpecialArgs = attrs; + home-manager.useUserPackages = true; + home-manager.users.preston = import ./home.nix; + } + ]; + }; continuity = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = attrs; -- cgit