69 lines
1.5 KiB
Nix
Executable File
69 lines
1.5 KiB
Nix
Executable File
{
|
|
description = "pagedMov's NixOS and Home Manager configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
hypr-contrib.url = "github:hyprwm/contrib";
|
|
hyprpicker.url = "github:hyprwm/hyprpicker";
|
|
stylix.url = "github:danth/stylix";
|
|
disko.url = "github:nix-community/disko";
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprland = {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
};
|
|
|
|
spicetify-nix = {
|
|
url = "github:gerg-l/spicetify-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { ... }@inputs:
|
|
let
|
|
movLib = import ./lib {
|
|
inherit inputs;
|
|
username = "pagedmov";
|
|
};
|
|
|
|
hosts = movLib.foldHosts [
|
|
{
|
|
host = "oganesson";
|
|
hostDir = "desktop";
|
|
kind = "both";
|
|
}
|
|
{
|
|
host = "phosphorous";
|
|
hostDir = "work";
|
|
kind = "both";
|
|
}
|
|
{
|
|
host = "mercury";
|
|
hostDir = "laptop";
|
|
kind = "both";
|
|
}
|
|
{
|
|
host = "xenon";
|
|
hostDir = "server";
|
|
kind = "both";
|
|
extraNixosModules = [
|
|
./modules/server
|
|
];
|
|
}
|
|
];
|
|
in {
|
|
inherit (hosts) nixosConfigurations homeConfigurations;
|
|
};
|
|
}
|