mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 02:36:19 +00:00
33 lines
608 B
Nix
33 lines
608 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;
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
};
|
|
nix.package = pkgs.nix;
|
|
nix.settings = {
|
|
use-xdg-base-directories = true;
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
}
|