Skip to content

Commit

Permalink
misc: home-mamager: Auto resolve collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
ElXreno committed Sep 14, 2024
1 parent c015a36 commit db15df8
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions profiles/misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,29 @@
doc.enable = false;
};

home-manager.users.elxreno = {
systemd.user.startServices = "sd-switch";
xdg.mimeApps.enable = true;
home = {
inherit (config.system) stateVersion;
sessionPath = [ "${config.users.users.elxreno.home}/bin" ];
sessionVariables = lib.mkMerge [
{
EDITOR = "hx";
_JAVA_OPTIONS = "-Dawt.useSystemAAFontSettings=lcd";
DOTNET_CLI_TELEMETRY_OPTOUT = 1;
}
(lib.mkIf config.deviceSpecific.isLaptop {
NIXPKGS =
"${config.users.users.elxreno.home}/projects/repos/github.com/NixOS/nixpkgs";
# go brrr
GOROOT = "${pkgs.go}/share/go";
GOPATH = "${config.users.users.elxreno.home}/.go";
})
];
home-manager = {
backupFileExtension = ".bak";
users.elxreno = {
systemd.user.startServices = "sd-switch";
xdg.mimeApps.enable = true;
home = {
inherit (config.system) stateVersion;
sessionPath = [ "${config.users.users.elxreno.home}/bin" ];
sessionVariables = lib.mkMerge [
{
EDITOR = "hx";
_JAVA_OPTIONS = "-Dawt.useSystemAAFontSettings=lcd";
DOTNET_CLI_TELEMETRY_OPTOUT = 1;
}
(lib.mkIf config.deviceSpecific.isLaptop {
NIXPKGS =
"${config.users.users.elxreno.home}/projects/repos/github.com/NixOS/nixpkgs";
# go brrr
GOROOT = "${pkgs.go}/share/go";
GOPATH = "${config.users.users.elxreno.home}/.go";
})
];
};
};
};

Expand Down

0 comments on commit db15df8

Please sign in to comment.