nix-conf/flake.nix

47 lines
1 KiB
Nix
Raw Normal View History

2023-02-20 16:38:19 +01:00
{
2023-05-19 12:08:06 +02:00
description = "jopejoe1 NixOS configuration";
inputs = {
2023-05-19 19:49:08 +02:00
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
2023-02-20 16:38:19 +01:00
nur.url = github:nix-community/NUR;
2023-05-19 12:08:06 +02:00
home-manager= {
2023-02-20 16:38:19 +01:00
url = github:nix-community/home-manager;
inputs.nixpkgs.follows = "nixpkgs";
};
2023-05-19 20:55:50 +02:00
prismlauncher.url = "github:PrismLauncher/PrismLauncher";
2023-02-20 16:38:19 +01:00
};
2023-02-23 20:34:35 +01:00
2023-05-19 12:08:06 +02:00
outputs = inputs@{
self,
nixpkgs,
home-manager,
2023-05-19 20:55:50 +02:00
prismlauncher,
2023-05-19 20:56:21 +02:00
nur,
2023-05-19 12:08:06 +02:00
...
}: {
2023-05-16 14:55:15 +02:00
nixosConfigurations.kami = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-05-19 12:08:06 +02:00
specialArgs = inputs;
2023-05-19 12:14:41 +02:00
modules = [
./systems/kami
2023-05-19 20:53:02 +02:00
./modules/audio
./modules/bluetooth
./modules/local
./modules/nix
./modules/plasma
./modules/printing
./modules/ssh
./modules/steam
./modules/users/jopejoe1
2023-05-19 12:20:38 +02:00
{
nixpkgs = {
config.allowUnfree = true;
2023-05-19 20:55:50 +02:00
overlays = [ prismlauncher.overlay nur.overlay ];
2023-05-19 12:20:38 +02:00
};
2023-05-19 12:39:26 +02:00
system.stateVersion = "23.05";
2023-05-19 12:20:38 +02:00
}
2023-05-19 12:14:41 +02:00
];
2023-02-22 17:56:24 +01:00
};
2023-05-16 14:55:15 +02:00
};
2023-02-20 16:38:19 +01:00
}