31 lines
814 B
Nix
31 lines
814 B
Nix
{
|
|
description = ":-)";
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nur.url = "github:nix-community/NUR";
|
|
};
|
|
outputs = { nixpkgs, home-manager, nur, ... }: {
|
|
nixosConfigurations = {
|
|
"krizej-pc" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
{ nixpkgs.overlays = [ nur.overlay ]; }
|
|
./configuration.nix
|
|
nur.nixosModules.nur
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
users.krizej = import ./home.nix;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|