feat(nix): upgrade to nix 2.15, fix profile location
This commit is contained in:
parent
131386c1e7
commit
5633380724
3 changed files with 2 additions and 4 deletions
|
@ -55,6 +55,7 @@
|
|||
nixpkgs.overlays = [overlays];
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
sharedModules = [
|
||||
./modules
|
||||
|
|
|
@ -11,10 +11,6 @@ end
|
|||
require("fonts").apply(c)
|
||||
require("keys").apply(c)
|
||||
|
||||
-- load terminfo from nix profile
|
||||
c.set_environment_variables = {
|
||||
TERMINFO_DIRS = wezterm.home_dir .. "/.nix-profile/share/terminfo",
|
||||
}
|
||||
-- window
|
||||
c.window_decorations = "RESIZE"
|
||||
c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
nix = {
|
||||
gc.automatic = true;
|
||||
package = pkgs.nixVersions.nix_2_15;
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
auto-optimise-store = pkgs.stdenv.isLinux;
|
||||
|
|
Loading…
Reference in a new issue