home: move around stuff
This commit is contained in:
parent
d13ba86697
commit
8d59f140cd
@ -43,7 +43,6 @@
|
|||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
username = "primary";
|
username = "primary";
|
||||||
homeDirectory = "/home/${username}";
|
|
||||||
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
||||||
|
|
||||||
pkgs = import (
|
pkgs = import (
|
||||||
@ -71,7 +70,6 @@
|
|||||||
inherit
|
inherit
|
||||||
inputs
|
inputs
|
||||||
username
|
username
|
||||||
homeDirectory
|
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -59,7 +59,8 @@ in
|
|||||||
|
|
||||||
# home-manager stuff
|
# home-manager stuff
|
||||||
home = {
|
home = {
|
||||||
inherit username homeDirectory;
|
inherit username;
|
||||||
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user