This commit is contained in:
death916 2025-12-26 00:46:42 -08:00
commit 8fb14c58f3
12 changed files with 673 additions and 251 deletions

View file

@ -16,6 +16,11 @@
};
flox.url = "github:flox/flox";
hyprland.url = "github:hyprwm/Hyprland";
stylix = {
url = "github:nix-community/stylix/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -27,6 +32,7 @@
rust-overlay,
flox,
hyprland,
stylix,
...
}:
let
@ -71,36 +77,43 @@
overlays
primaryUser
hyprland # Pass hyprland to specialArgs
stylix
;
unstablePkgs = import nixpkgs-unstable { inherit system; };
};
modules = [
{
nixpkgs.overlays = [
overlays.waveterm
overlays.rust
overlays.halloy
overlays.karakeep
];
}
./nixos/configuration.nix
./nixos/hardware-configuration.nix
home-manager.nixosModules.home-manager
(
{ unstablePkgs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = { inherit hmLib unstablePkgs inputs; };
home-manager.users.death916 = {
imports = [
./home-manager/home.nix
];
};
}
)
];
modules = [
stylix.nixosModules.stylix
{
nixpkgs.overlays = [
overlays.waveterm
overlays.rust
overlays.halloy
overlays.karakeep
];
}
./nixos/configuration.nix
./nixos/hardware-configuration.nix
{ stylix.image = "/home/death916/Documents/nix-config/home-manager/wallpaper.jpg"; }
home-manager.nixosModules.home-manager
(
{
unstablePkgs,
...
}:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = { inherit hmLib unstablePkgs inputs; };
home-manager.users.death916 = {
imports = [
./home-manager/home.nix
stylix.homeModules.stylix
];
};
}
)
];
};
homelab =