Initial restructure of flake.nix

- Added nixpkgs-unstable input
- Added disko input
- Made nixosSystem & darwinSystem reusable with parameters
- Switched darwinConfigurations to use parameterized darwinSystem
- Switched nixosConfigurations to use parameterized darwinSystem
This commit is contained in:
Gene Liverman 2023-12-15 08:57:02 -05:00 committed by Gene Liverman
parent e3d1b896c2
commit 7d7a958da9
2 changed files with 125 additions and 68 deletions

40
flake.lock generated
View file

@ -17,6 +17,26 @@
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1702569759,
"narHash": "sha256-Ze3AdEEsVZBRJ4wn13EZpV1Uubkzi59TkC4j2G9xoFI=",
"owner": "nix-community",
"repo": "disko",
"rev": "98ab91109716871f50ea8cb0e0ac7cc1e1e14714",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
@ -143,6 +163,22 @@
"type": "indirect"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1702539185,
"narHash": "sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "aa9d4729cbc99dabacb50e3994dcefb3ea0f7447",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1688049487,
@ -176,11 +212,13 @@
},
"root": {
"inputs": {
"disko": "disko",
"genebean-omp-themes": "genebean-omp-themes",
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable"
}
},
"systems": {