mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
34 lines
782 B
Nix
34 lines
782 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;
|
|
|
|
home.file.".p10k.zsh".source = ./programs/.p10k.zsh;
|
|
}
|