17 lines
335 B
Nix
Executable file
17 lines
335 B
Nix
Executable file
{ attrs, ... }:
|
|
{
|
|
programs.home-manager.enable = true;
|
|
home = {
|
|
inherit (attrs) username;
|
|
stateVersion = "22.11";
|
|
homeDirectory = "/home/" + attrs.username;
|
|
};
|
|
imports = [ ./shared/programs/shell ];
|
|
xdg.enable = true;
|
|
|
|
xdg.configFile."nixpkgs/config.nix".text = ''
|
|
{
|
|
allowUnfree = true;
|
|
}
|
|
'';
|
|
}
|