mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
25 lines
599 B
Nix
25 lines
599 B
Nix
{ homeDirectory, pkgs, stateVersion, system, username }:
|
|
let
|
|
packages = import ./packages.nix { inherit pkgs; };
|
|
in {
|
|
home = {
|
|
inherit homeDirectory packages stateVersion username;
|
|
|
|
shellAliases = {
|
|
reload-home-manager-config = "home-manager switch --flake ${homeDirectory}/.config/home-manager";
|
|
};
|
|
};
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
inherit system;
|
|
allowUnfree = true;
|
|
allowUnsupportedSystem = true;
|
|
experimental-features = "nix-command flakes";
|
|
};
|
|
};
|
|
|
|
programs = import ./programs.nix { inherit pkgs; };
|
|
services = import ./services.nix;
|
|
}
|