Initial version.

This commit is contained in:
2024-07-30 09:18:07 +01:00
commit 4c3294cd64
6 changed files with 146 additions and 0 deletions

28
home.nix Normal file
View File

@@ -0,0 +1,28 @@
{ 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;
}