chromebox/flake.nix

30 lines
942 B
Nix
Raw Normal View History

2025-09-24 15:45:10 -04:00
{
2025-09-24 15:36:29 -04:00
inputs = {
# This is pointing to an unstable release.
# If you prefer a stable release instead, you can this to the latest number shown here: https://nixos.org/download
# i.e. nixos-24.11
# Use `nix flake update` to update the flake to the latest revision of the chosen release channel.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-plasma-beta.url = "github:K900/nixpkgs/plasma-6.5";
2025-09-24 15:36:29 -04:00
};
2025-09-24 15:45:10 -04:00
outputs =
inputs@{
self,
nixpkgs,
nixpkgs-plasma-beta,
...
}:
2025-09-24 15:45:10 -04:00
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
pkgs-plasma-beta = import nixpkgs-plasma-beta { inherit system; };
2025-09-24 15:45:10 -04:00
in
{
nixosConfigurations.chromatic-aberration = nixpkgs.lib.nixosSystem {
2025-09-24 15:45:10 -04:00
modules = [ ./configuration.nix ];
specialArgs.pkgs-plasma-beta = pkgs-plasma-beta;
2025-09-24 15:45:10 -04:00
};
formatter.${system} = pkgs.nixfmt-tree;
2025-09-24 15:36:29 -04:00
};
}