2023-10-08 14:57:57 +00:00
|
|
|
{
|
|
|
|
description = "My NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
2023-10-09 09:25:17 +00:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2023-10-08 16:03:14 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 09:25:17 +00:00
|
|
|
outputs = { nixpkgs, home-manager, nur, ... }: {
|
2023-10-08 14:57:57 +00:00
|
|
|
nixosConfigurations = {
|
2023-10-08 16:22:51 +00:00
|
|
|
pim = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-10-08 14:57:57 +00:00
|
|
|
modules = [
|
2023-10-09 09:25:17 +00:00
|
|
|
{ nixpkgs.overlays = [ nur.overlay ]; }
|
|
|
|
({ pkgs, ... }@args: home-manager.nixosModules.home-manager {
|
|
|
|
inherit (args) lib pkgs config utils;
|
2023-10-08 16:03:14 +00:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.pim = {
|
2023-10-09 09:25:17 +00:00
|
|
|
imports = [
|
|
|
|
./home/home.nix
|
|
|
|
];
|
2023-10-08 16:03:14 +00:00
|
|
|
};
|
2023-10-09 09:25:17 +00:00
|
|
|
})
|
|
|
|
./configuration.nix
|
2023-10-08 14:57:57 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|