This commit is contained in:
parent
292695805e
commit
06a76ae98f
2 changed files with 12 additions and 39 deletions
23
flake.lock
generated
23
flake.lock
generated
|
@ -276,26 +276,6 @@
|
|||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1741352980,
|
||||
"narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_3": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
|
@ -509,7 +489,7 @@
|
|||
},
|
||||
"niko-nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_3",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
|
@ -722,7 +702,6 @@
|
|||
"disko": "disko",
|
||||
"fenix": "fenix",
|
||||
"firefox-darwin": "firefox-darwin",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"helix": "helix",
|
||||
"home-manager": "home-manager",
|
||||
"lix": "lix",
|
||||
|
|
28
flake.nix
28
flake.nix
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
outputs =
|
||||
inputs@{ flake-parts, ... }:
|
||||
inputs:
|
||||
let
|
||||
nilla = import ./nilla.nix { inherit inputs; };
|
||||
systems = [
|
||||
|
@ -18,26 +18,20 @@
|
|||
in
|
||||
lib.genAttrs systems mappedForSystem;
|
||||
in
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
inherit systems;
|
||||
|
||||
flake.nixosModules = nilla.nixosModules;
|
||||
flake.darwinModules = nilla.darwinModules;
|
||||
flake.homeModules = nilla.homeModules;
|
||||
flake.nixosConfigurations = nilla.nixosConfigurations;
|
||||
flake.darwinConfigurations = nilla.darwinConfigurations;
|
||||
flake.homeConfigurations = nilla.homeConfigurations;
|
||||
flake.devShells = transpose nilla.shells;
|
||||
flake.packages = transpose nilla.packages;
|
||||
flake.formatter = nilla.packages.formatter.result;
|
||||
{
|
||||
inherit (nilla) nixosModules;
|
||||
inherit (nilla) darwinModules;
|
||||
inherit (nilla) homeModules;
|
||||
inherit (nilla) nixosConfigurations;
|
||||
inherit (nilla) darwinConfigurations;
|
||||
inherit (nilla) homeConfigurations;
|
||||
devShells = transpose nilla.shells;
|
||||
packages = transpose nilla.packages;
|
||||
formatter = nilla.packages.formatter.result;
|
||||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable";
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
};
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue