63 lines
1.6 KiB
Nix
63 lines
1.6 KiB
Nix
|
{
|
||
|
description = "Nixos configuration for Xeovalyte";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-23.11";
|
||
|
|
||
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||
|
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager/release-23.11";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
|
||
|
nix-colors.url = "github:misterio77/nix-colors";
|
||
|
|
||
|
firefox-addons = {
|
||
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
|
||
|
hyprlock = {
|
||
|
url = "github:/hyprwm/hyprlock";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
|
||
|
hypridle = {
|
||
|
url = "github:/hyprwm/hypridle";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
|
||
|
getchoo = {
|
||
|
url = "github:getchoo/nix-exprs";
|
||
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, nix-colors, ... }:
|
||
|
let
|
||
|
overlay-unstable = final: prev: {
|
||
|
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
nixosConfigurations = {
|
||
|
laptop = nixpkgs.lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
specialArgs = { inherit inputs; };
|
||
|
modules = [
|
||
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||
|
|
||
|
./hosts/laptop
|
||
|
home-manager.nixosModules.home-manager
|
||
|
{
|
||
|
home-manager.useGlobalPkgs = true;
|
||
|
home-manager.extraSpecialArgs = { inherit inputs nix-colors; };
|
||
|
home-manager.users.xeovalyte.imports = [ ./hosts/laptop/home.nix ];
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|