Completed migration to flakes
This commit is contained in:
1 parent
0932432e11
commit
73c4756de6
5 files changed
+743
-49
No files matched your search
@@ -7,19 +7,42 @@
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
stylix.url = "github:danth/stylix";
|
||||
nixvim.url = "github:nix-community/nixvim";
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, home-manager, ... }:
|
||||
{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
stylix,
|
||||
nixvim,
|
||||
nur,
|
||||
...
|
||||
}:
|
||||
let
|
||||
baseModules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.sharedModules = [
|
||||
stylix.homeManagerModules.stylix
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nur.modules.homeManager.default
|
||||
];
|
||||
}
|
||||
];
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"20212060" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./machines/laptop.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{ }
|
||||
];
|
||||
] ++ baseModules;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user