diff --git a/home-modules/xdg.nix b/home-modules/xdg.nix index 5cf5a97..dc86943 100644 --- a/home-modules/xdg.nix +++ b/home-modules/xdg.nix @@ -5,25 +5,34 @@ ... }: { - home.preferXdgDirectories = true; xdg.enable = true; - home.sessionVariables = { - ANDROID_USER_HOME = "${config.xdg.dataHome}/android"; - CARGO_HOME = "${config.xdg.dataHome}/cargo"; - DOTNET_CLI_HOME = "${config.xdg.dataHome}/dotnet"; - DVDCSS_CACHE = "${config.xdg.dataHome}/dvdcss"; - GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle"; - JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java"; - NODE_REPL_HISTORY = "${config.xdg.stateHome}/node_repl_history"; - NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc"; - PYTHON_HISTORY = "${config.xdg.stateHome}/python_history"; - RUSTUP_HOME = "${config.xdg.dataHome}/rustup"; - XCOMPOSE_CACHE = "${config.xdg.cacheHome}/X11/xcompose"; - }; - home.shellAliases = { - adb = ''HOME="${config.xdg.dataHome}/android" adb''; - mvn = "mvn -gs ${config.xdg.configHome}/maven/settings.xml"; - wget = "wget --hsts-file=${config.xdg.dataHome}/wget-hsts"; + home = { + preferXdgDirectories = true; + sessionVariables = { + ANDROID_USER_HOME = "${config.xdg.dataHome}/android"; + CARGO_HOME = "${config.xdg.dataHome}/cargo"; + DOTNET_CLI_HOME = "${config.xdg.dataHome}/dotnet"; + DVDCSS_CACHE = "${config.xdg.dataHome}/dvdcss"; + GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle"; + JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java"; + NODE_REPL_HISTORY = "${config.xdg.stateHome}/node_repl_history"; + NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc"; + PYTHON_HISTORY = "${config.xdg.stateHome}/python_history"; + RUSTUP_HOME = "${config.xdg.dataHome}/rustup"; + XCOMPOSE_CACHE = "${config.xdg.cacheHome}/X11/xcompose"; + }; + shellAliases = { + adb = ''HOME="${config.xdg.dataHome}/android" adb''; + mvn = "mvn -gs ${config.xdg.configHome}/maven/settings.xml"; + wget = "wget --hsts-file=${config.xdg.dataHome}/wget-hsts"; + }; + + file = { + ".nix-profile" = { + source = config.lib.file.mkOutOfStoreSymlink "./local/state/nix/profile"; + }; + }; }; gtk.gtk2.configLocation = lib.mkIf osConfig.services.displayManager.enable "${config.xdg.configHome}/gtk-2.0/gtkrc"; + } diff --git a/nixos-configurations/smolboi.nix b/nixos-configurations/smolboi.nix index 3c74ee4..6dce367 100644 --- a/nixos-configurations/smolboi.nix +++ b/nixos-configurations/smolboi.nix @@ -25,8 +25,8 @@ in ezModules.aarch64-emu ezModules.smartd ezModules.plymouth -# ezModules.cosmic-modules -# ezModules.cosmic-packages + # ezModules.cosmic-modules + # ezModules.cosmic-packages ]; boot = { @@ -63,7 +63,11 @@ in nixpkgs = { config = { allowUnfree = true; - permittedInsecurePackages = [ "electron-25.9.0" "dotnet-runtime-6.0.36" "dotnet-sdk-wrapped-6.0.428" "dotnet-sdk-6.0.428"]; + permittedInsecurePackages = [ + "dotnet-runtime-6.0.36" + "dotnet-sdk-wrapped-6.0.428" + "dotnet-sdk-6.0.428" + ]; packageOverrides = pkgs: { steam = pkgs.steam.override { extraPkgs = pkgs: [ pkgs.winetricks ]; }; };