flake: remove nixos-generators
This commit is contained in:
parent
2fb0b9c3e9
commit
5e6d9034ef
2 changed files with 3 additions and 56 deletions
22
flake.nix
22
flake.nix
|
|
@ -7,13 +7,11 @@
|
|||
neovim-nightly.url = "github:nix-community/neovim-nightly-overlay";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
nixos-generators.url = "github:nix-community/nixos-generators";
|
||||
|
||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
home-manager-porcupine.inputs.nixpkgs.follows = "nixpkgs-porcupine";
|
||||
neovim-nightly.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-generators.inputs.nixpkgs.follows = "nixpkgs-porcupine";
|
||||
|
||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||
powercord-overlay.url = "github:LavaDesu/powercord-overlay";
|
||||
|
|
@ -63,7 +61,7 @@
|
|||
zelk = { url = "github:schnensch0/zelk"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = { self, agenix, nixos-generators, nixpkgs, nixpkgs-porcupine, ... } @ inputs:
|
||||
outputs = { self, agenix, nixpkgs, nixpkgs-porcupine, ... } @ inputs:
|
||||
let
|
||||
overlays = (import ./overlays)
|
||||
++ [inputs.powercord-overlay.overlay]
|
||||
|
|
@ -112,28 +110,14 @@
|
|||
packages."aarch64-linux" =
|
||||
let
|
||||
pkgs = import nixpkgs-porcupine {
|
||||
overlays = overlays ++ [
|
||||
# See https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243
|
||||
];
|
||||
inherit overlays;
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit (pkgs) nixUnstable;
|
||||
|
||||
caramel-iso2 = self.nixosConfigurations."caramel".config.system.build.sdImage;
|
||||
caramel-iso = nixos-generators.nixosGenerate {
|
||||
inherit pkgs;
|
||||
format = "sd-aarch64";
|
||||
modules = [
|
||||
agenix.nixosModules.age
|
||||
./hosts/caramel
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
modules = import ./modules { lib = nixpkgs-porcupine.lib; };
|
||||
};
|
||||
};
|
||||
caramel-img = self.nixosConfigurations."caramel".config.system.build.sdImage;
|
||||
};
|
||||
|
||||
# TODO: currently broken
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue