Initial version.
This commit is contained in:
28
home.nix
Normal file
28
home.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user