nix-conf/flake.nix
2023-05-19 20:55:50 +02:00

45 lines
1 KiB
Nix

{
description = "jopejoe1 NixOS configuration";
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
nur.url = github:nix-community/NUR;
home-manager= {
url = github:nix-community/home-manager;
inputs.nixpkgs.follows = "nixpkgs";
};
prismlauncher.url = "github:PrismLauncher/PrismLauncher";
};
outputs = inputs@{
self,
nixpkgs,
home-manager,
prismlauncher,
...
}: {
nixosConfigurations.kami = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./systems/kami
./modules/audio
./modules/bluetooth
./modules/local
./modules/nix
./modules/plasma
./modules/printing
./modules/ssh
./modules/steam
./modules/users/jopejoe1
{
nixpkgs = {
config.allowUnfree = true;
overlays = [ prismlauncher.overlay nur.overlay ];
};
system.stateVersion = "23.05";
}
];
};
};
}