nix/flake.nix

32 lines
814 B
Nix
Raw Normal View History

2024-06-13 15:38:40 +02:00
{
description = ":-)";
inputs = {
2024-06-15 21:59:32 +02:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-06-13 15:38:40 +02:00
home-manager = {
2024-06-15 21:59:32 +02:00
url = "github:nix-community/home-manager";
2024-06-13 15:38:40 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
};
outputs = { nixpkgs, home-manager, nur, ... }: {
nixosConfigurations = {
2024-06-15 21:59:32 +02:00
"krizej-pc" = nixpkgs.lib.nixosSystem {
2024-06-13 15:38:40 +02:00
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;
};
}
];
};
};
};
}