Initial commit (after fork)

This commit is contained in:
Pedro Rey Anca 2024-07-08 18:00:42 +02:00
parent 5ebba8a939
commit 5fe3f69a17
111 changed files with 1428 additions and 1611 deletions

View file

@ -1,23 +1,25 @@
{
description = "FrostPhoenix's nixos configuration";
description = "peprolinbot'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";
fjordlauncher.url = "github:unmojang/FjordLauncher";
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -37,34 +39,43 @@
};
};
outputs = { nixpkgs, self, ...} @ inputs:
let
selfPkgs = import ./pkgs;
username = "frostphoenix";
outputs = {
nixpkgs,
self,
...
} @ inputs: let
username = "pedro";
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in
{
overlays.default = selfPkgs.overlay;
in {
nixosConfigurations = {
desktop = nixpkgs.lib.nixosSystem {
frues-pc = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ (import ./hosts/desktop) ];
specialArgs = { host="desktop"; inherit self inputs username ; };
modules = [(import ./hosts/frues-pc)];
specialArgs = {
host = "frues-pc";
inherit self inputs username;
};
};
laptop = nixpkgs.lib.nixosSystem {
frues-port = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ (import ./hosts/laptop) ];
specialArgs = { host="laptop"; inherit self inputs username ; };
modules = [(import ./hosts/frues-port)];
specialArgs = {
host = "frues-port";
inherit self inputs username;
};
};
vm = nixpkgs.lib.nixosSystem {
frues-vm = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ (import ./hosts/vm) ];
specialArgs = { host="vm"; inherit self inputs username ; };
modules = [(import ./hosts/frues-vm)];
specialArgs = {
host = "frues-vm";
inherit self inputs username;
};
};
};
};