refactor
This commit is contained in:
1 parent
f4a273e89e
commit
6818d5e7ad
3 files changed
+82
-4
No files matched your search
+5
-2
@@ -1,7 +1,9 @@
|
||||
{
|
||||
description = "Main Flake";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs = {
|
||||
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -12,7 +14,8 @@
|
||||
};
|
||||
};
|
||||
outputs = { self, home-manager, nix-darwin, nixpkgs }: {
|
||||
lib = {
|
||||
default
|
||||
lib = {
|
||||
makeImports = { ... }@attrs: [ (import ./main.nix attrs) ];
|
||||
makeNixOsModule = { system, configuration ? null, ... }@attrs:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
|
||||
Reference in new issue
Block a user