dotfiles-nix/flake.nix

37 lines
1 KiB
Nix
Raw Normal View History

2025-01-21 02:43:35 +00:00
{
description = "NixOS configuration";
inputs = {
# nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# home manager
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# hyprland
hyprland.url = "github:hyprwm/Hyprland";
2025-01-23 16:38:02 +00:00
hyprland.inputs.nixpkgs.follows = "nixpkgs";
2025-01-21 02:43:35 +00:00
# hyprland plugins
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
hyprland-plugins.inputs.hyprland.follows = "hyprland";
# hyprland hy3
hy3.url = "github:outfoxxed/hy3";
hy3.inputs.hyprland.follows = "hyprland";
2025-01-24 18:06:22 +00:00
# sops
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
2025-01-21 02:43:35 +00:00
};
outputs = { nixpkgs, ... }@inputs:
let
options = import ./options.nix;
in rec {
nixosConfigurations = {
2025-01-24 18:10:41 +00:00
shinji = import ./hosts/shinji.nix { inherit inputs options; };
2025-01-21 02:43:35 +00:00
};
homeConfigurations = {
shinji = nixosConfigurations.shinji.config.home-manager.users.${options.user}.home;
};
};
}