mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
32 lines
744 B
Nix
32 lines
744 B
Nix
{ homeDirectory, pkgs, stateVersion, system, username }:
|
|
let
|
|
packages = import ./packages.nix { inherit pkgs; };
|
|
in {
|
|
imports = [ ./desktops/hyprland/hyprland.nix ];
|
|
|
|
home = {
|
|
inherit homeDirectory packages stateVersion username;
|
|
|
|
shellAliases = {
|
|
reload-home-manager-config = "home-manager switch --flake ${homeDirectory}/.config/home-manager";
|
|
};
|
|
|
|
keyboard = {
|
|
layout = "us";
|
|
variant = "altgr-intl";
|
|
};
|
|
};
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
inherit system;
|
|
allowUnfree = true;
|
|
allowUnsupportedSystem = true;
|
|
experimental-features = "nix-command flakes";
|
|
};
|
|
};
|
|
|
|
programs = import ./programs.nix { inherit pkgs; };
|
|
services = import ./services.nix { inherit pkgs; };
|
|
}
|