feat: fix one attempt
This commit is contained in:
44
flake.nix
44
flake.nix
@@ -1,28 +1,24 @@
|
||||
{
|
||||
description = "Configuration v1";
|
||||
description = "Configuration v1";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
|
||||
homeManager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
|
||||
|
||||
homeManager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, homeManager, ...}: {
|
||||
|
||||
nixosConfigurations."maxos" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
homeManager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ./home.nix ];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
outputs = { self, nixpkgs, homeManager, ...}@inputs: {
|
||||
|
||||
nixosConfigurations = (
|
||||
import ./hosts.nix {
|
||||
inherit nixpkgs;
|
||||
inherit homeManager;
|
||||
inherit (nixpkgs) lib;
|
||||
}
|
||||
);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user