mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
32 lines
625 B
Nix
32 lines
625 B
Nix
# ~/.config/nixcfgs/users/js0ny/default.nix
|
|
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
username = "js0ny";
|
|
in {
|
|
imports = [
|
|
../../modules/home/options.nix
|
|
../../modules/home/do-not-track.nix
|
|
# ./config.nix
|
|
];
|
|
home.username = username;
|
|
home.homeDirectory =
|
|
if pkgs.stdenv.isDarwin
|
|
then "/Users/${username}"
|
|
else "/home/${username}";
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
xdg.configFile = {
|
|
"nixpkgs/config.nix" = {
|
|
text = ''{allowUnfree = true;} '';
|
|
enable = true;
|
|
};
|
|
"nix/nix.conf" = {
|
|
text = ''use-xdg-base-directories = true '';
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|