mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
Initial commit
This commit is contained in:
24
home.nix
Normal file
24
home.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ 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 ${builtins.toString ./.}";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
inherit system;
|
||||
allowUnfree = true;
|
||||
allowUnsupportedSystem = true;
|
||||
experimental-features = "nix-command flakes";
|
||||
};
|
||||
};
|
||||
|
||||
programs = import ./programs.nix { inherit pkgs; };
|
||||
services = import ./services.nix;
|
||||
}
|
||||
Reference in New Issue
Block a user