working NUR flake
This commit is contained in:
parent
bbfa8b1d4c
commit
0a46d32387
4 changed files with 31 additions and 11 deletions
15
flake.nix
15
flake.nix
|
@ -3,25 +3,30 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
home-manager = {
|
||||
url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager }: {
|
||||
outputs = { nixpkgs, home-manager, nur, ... }: {
|
||||
nixosConfigurations = {
|
||||
pim = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
{ nixpkgs.overlays = [ nur.overlay ]; }
|
||||
({ pkgs, ... }@args: home-manager.nixosModules.home-manager {
|
||||
inherit (args) lib pkgs config utils;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.pim = {
|
||||
imports = [ ./home/home.nix ];
|
||||
imports = [
|
||||
./home/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue