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];
|
nixpkgs.overlays = [overlays];
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
./modules
|
./modules
|
||||||
|
|
|
@ -11,10 +11,6 @@ end
|
||||||
require("fonts").apply(c)
|
require("fonts").apply(c)
|
||||||
require("keys").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
|
-- window
|
||||||
c.window_decorations = "RESIZE"
|
c.window_decorations = "RESIZE"
|
||||||
c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
|
c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix = {
|
nix = {
|
||||||
gc.automatic = true;
|
gc.automatic = true;
|
||||||
|
package = pkgs.nixVersions.nix_2_15;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||||
auto-optimise-store = pkgs.stdenv.isLinux;
|
auto-optimise-store = pkgs.stdenv.isLinux;
|
||||||
|
|
Loading…
Reference in a new issue