34 lines
842 B
Nix
34 lines
842 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }:
|
|
{
|
|
nixosConfigurations."nixos" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.odweta = import ./home.nix;
|
|
}
|
|
./configuration.nix # FIXME: MODULARIZE
|
|
./env-vars.nix
|
|
#./hardware-configuration.nix
|
|
./hyprland-system.nix
|
|
./theme.nix
|
|
];
|
|
};
|
|
};
|
|
}
|