nixos/flake.nix

46 lines
1.3 KiB
Nix
Raw Normal View History

{
description = "Koishi's NixOS flake.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
2024-03-28 08:37:04 +08:00
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
2025-01-13 11:01:20 +08:00
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence/master";
2024-03-28 08:37:04 +08:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2024-05-13 08:55:58 +08:00
plasma-manager.url = "github:pjones/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
plasma-manager.inputs.home-manager.follows = "home-manager";
2024-06-24 09:56:31 +08:00
catppuccin.url = "github:catppuccin/nix";
2024-07-12 17:10:40 +08:00
lanzaboote.url = "github:nix-community/lanzaboote/v0.4.1";
2024-03-28 08:37:04 +08:00
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
2024-04-29 22:36:32 +08:00
# steamdeck
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
};
2025-01-13 11:52:09 +08:00
outputs =
inputs@{
self,
flake-parts,
treefmt-nix,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
];
2025-01-13 11:52:09 +08:00
perSystem.treefmt = {
programs.nixfmt.enable = true;
};
imports = [
./spec
treefmt-nix.flakeModule
];
};
}