nix-dotfiles/flake.nix

25 lines
641 B
Nix
Raw Normal View History

2023-11-19 19:31:04 -08:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2024-04-09 00:00:42 -07:00
2024-05-26 16:55:15 -07:00
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
2024-04-07 00:33:49 -07:00
sops-nix.url = "github:Mic92/sops-nix";
2024-04-09 00:00:42 -07:00
aagl.url = "github:ezKEa/aagl-gtk-on-nix";
2023-11-19 19:31:04 -08:00
};
2024-04-09 00:00:42 -07:00
outputs = { self, nixpkgs, ... }@inputs:
let
defaultConfig = extraModules: nixpkgs.lib.nixosSystem {
2024-03-17 16:50:13 -07:00
specialArgs = { inherit inputs; };
2023-11-19 19:31:04 -08:00
system = "x86_64-linux";
modules = [
2024-04-07 17:08:48 -07:00
./nixosModules
] ++ extraModules;
2023-11-19 19:31:04 -08:00
};
in
{
nixosConfigurations.onizuka = defaultConfig [ ./systems/onizuka ];
nixosConfigurations.jibril = defaultConfig [ ./systems/jibril ];
2023-11-19 19:31:04 -08:00
};
}