37 lines
891 B
Nix
37 lines
891 B
Nix
# /etc/nixos/flake.nix
|
|
{
|
|
description = "flake for ark-desktop-nixos";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nur = {
|
|
url = "github:nix-community/NUR/master";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, nur, ... }: {
|
|
nixosConfigurations = {
|
|
ark-desktop-nixos = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
{ nixpkgs.overlays = [ nur.overlay ]; }
|
|
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.ark = import ./home.nix;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|