72 lines
1.8 KiB
Nix
72 lines
1.8 KiB
Nix
{
|
|
description = "FrostPhoenix's nixos configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
hypr-contrib.url = "github:hyprwm/contrib";
|
|
hyprpicker.url = "github:hyprwm/hyprpicker";
|
|
|
|
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
|
|
hyprland = {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
catppuccin-bat = {
|
|
url = "github:catppuccin/bat";
|
|
flake = false;
|
|
};
|
|
catppuccin-cava = {
|
|
url = "github:catppuccin/cava";
|
|
flake = false;
|
|
};
|
|
catppuccin-starship = {
|
|
url = "github:catppuccin/starship";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, self, ...} @ inputs:
|
|
let
|
|
selfPkgs = import ./pkgs;
|
|
username = "frostphoenix";
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
lib = nixpkgs.lib;
|
|
in
|
|
{
|
|
overlays.default = selfPkgs.overlay;
|
|
nixosConfigurations = {
|
|
desktop = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [ (import ./hosts/desktop) ];
|
|
specialArgs = { host="desktop"; inherit self inputs username ; };
|
|
};
|
|
laptop = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [ (import ./hosts/laptop) ];
|
|
specialArgs = { host="laptop"; inherit self inputs username ; };
|
|
};
|
|
vm = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [ (import ./hosts/vm) ];
|
|
specialArgs = { host="vm"; inherit self inputs username ; };
|
|
};
|
|
};
|
|
};
|
|
}
|