39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
|
{
|
||
|
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";
|
||
|
# hyprlock
|
||
|
hyprlock.url = "github:hyprwm/hyprlock";
|
||
|
# hyprpaper
|
||
|
hyprpaper.url = "github:hyprwm/hyprpaper";
|
||
|
# hypridle
|
||
|
hypridle.url = "github:hyprwm/hypridle";
|
||
|
# 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";
|
||
|
};
|
||
|
|
||
|
outputs = { nixpkgs, ... }@inputs:
|
||
|
let
|
||
|
options = import ./options.nix;
|
||
|
in rec {
|
||
|
nixosConfigurations = {
|
||
|
shinji = import ./hosts/shinji.nix { inherit inputs options; };
|
||
|
};
|
||
|
|
||
|
homeConfigurations = {
|
||
|
shinji = nixosConfigurations.shinji.config.home-manager.users.${options.user}.home;
|
||
|
};
|
||
|
};
|
||
|
}
|