data.cs.purdue.edu: set username override in home-manager
This commit is contained in:
parent
3ed8a17d3a
commit
8ed8f617fa
1 changed files with 4 additions and 4 deletions
|
@ -12,17 +12,17 @@
|
|||
|
||||
home-manager.useUserPackages = false;
|
||||
|
||||
user.name = lib.mkForce private.variables.purdue-username;
|
||||
|
||||
home = { ... }: {
|
||||
home = { main, config, ... }: {
|
||||
home = {
|
||||
username = lib.mkForce private.variables.purdue-username;
|
||||
|
||||
packages = with pkgs; [
|
||||
home-manager
|
||||
];
|
||||
|
||||
file.".profile".target = ".profile-hm";
|
||||
|
||||
homeDirectory = lib.mkForce "/homes/${config.user.name}";
|
||||
homeDirectory = lib.mkForce "/homes/${config.home.username}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue