94 lines
2.3 KiB
Nix
94 lines
2.3 KiB
Nix
{
|
|
description = "peprolinbot's nixos configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hypr-contrib.url = "github:hyprwm/contrib";
|
|
|
|
fjordlauncher.url = "github:unmojang/FjordLauncher";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
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,
|
|
nixpkgs-unstable,
|
|
self,
|
|
...
|
|
} @ inputs: let
|
|
username = "pedro";
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
lib = nixpkgs.lib;
|
|
in {
|
|
nixosConfigurations = {
|
|
frues-pc = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [(import ./hosts/frues-pc)];
|
|
specialArgs = {
|
|
host = "frues-pc";
|
|
inherit self inputs username pkgs-unstable;
|
|
};
|
|
};
|
|
frues-port = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [(import ./hosts/frues-port)];
|
|
specialArgs = {
|
|
host = "frues-port";
|
|
inherit self inputs username pkgs-unstable;
|
|
};
|
|
};
|
|
frues-vm = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [(import ./hosts/frues-vm)];
|
|
specialArgs = {
|
|
host = "frues-vm";
|
|
inherit self inputs username pkgs-unstable;
|
|
};
|
|
};
|
|
fruesos-live = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
|
(import ./hosts/fruesos-live)
|
|
];
|
|
specialArgs = {
|
|
host = "fruesos-live";
|
|
inherit self inputs username pkgs-unstable;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|