Support generic and minimal home-manager installs
This commit is contained in:
parent
10c6af76f2
commit
61e9f7c417
4 changed files with 14 additions and 4 deletions
|
|
@ -1,10 +1,16 @@
|
|||
{inputs, ...}: {
|
||||
{
|
||||
inputs,
|
||||
attrs,
|
||||
...
|
||||
}: {
|
||||
programs.home-manager.enable = true;
|
||||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
home = {
|
||||
inherit (attrs) username;
|
||||
stateVersion = "22.11";
|
||||
homeDirectory = "/home/" + attrs.username;
|
||||
file = {
|
||||
".local/bin" = {
|
||||
source = ../bin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue