✨ feat(wezterm): Install wezterm
This commit is contained in:
parent
5bffc52df8
commit
8dad6f296e
3 changed files with 53 additions and 89 deletions
99
flake.lock
99
flake.lock
|
@ -1,66 +1,5 @@
|
|||
{
|
||||
"nodes": {
|
||||
"alejandra": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
"flakeCompat": "flakeCompat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1660592437,
|
||||
"narHash": "sha256-xFumnivtVwu5fFBOrTxrv6fv3geHKF04RGP23EsDVaI=",
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"rev": "e7eac49074b70814b542fee987af2987dd0520b5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kamadorueda",
|
||||
"ref": "3.0.0",
|
||||
"repo": "alejandra",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"alejandra",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1657607339,
|
||||
"narHash": "sha256-HaqoAwlbVVZH2n4P3jN2FFPMpVuhxDy1poNOR7kzODc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "b814c83d9e6aa5a28d0cf356ecfdafb2505ad37d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flakeCompat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1650374568,
|
||||
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "b4a34015c698c7793d592d66adbab377907a2be8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -68,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1730016908,
|
||||
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
||||
"lastModified": 1730490306,
|
||||
"narHash": "sha256-AvCVDswOUM9D368HxYD25RsSKp+5o0L0/JHADjLoD38=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
||||
"rev": "1743615b61c7285976f85b303a36cdf88a556503",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -83,11 +22,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1729880355,
|
||||
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||
"lastModified": 1730200266,
|
||||
"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||
"rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -99,7 +38,6 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"alejandra": "alejandra",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"rose-pine": "rose-pine"
|
||||
|
@ -107,11 +45,11 @@
|
|||
},
|
||||
"rose-pine": {
|
||||
"locked": {
|
||||
"lastModified": 1729474676,
|
||||
"narHash": "sha256-m9cnP77ntsE0oHTzgqfcKod0+5vX/poYP3O3T0ScdVI=",
|
||||
"lastModified": 1730588441,
|
||||
"narHash": "sha256-7cVAVvzZiYs3dWgIRxCs/4LtdYsh9M84eEQICgHdaA4=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "558c12035e8c7ec81c07701e2d20ffe37dff84e8",
|
||||
"revCount": 370,
|
||||
"rev": "1fb54d67aeb32c65cd4f9b3e31e2bb14da96355c",
|
||||
"revCount": 373,
|
||||
"type": "git",
|
||||
"url": "https://git.punkfairie.net/punkfairie/rose-pine-nix"
|
||||
},
|
||||
|
@ -119,23 +57,6 @@
|
|||
"type": "git",
|
||||
"url": "https://git.punkfairie.net/punkfairie/rose-pine-nix"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1657557289,
|
||||
"narHash": "sha256-PRW+nUwuqNTRAEa83SfX+7g+g8nQ+2MMbasQ9nt6+UM=",
|
||||
"owner": "rust-lang",
|
||||
"repo": "rust-analyzer",
|
||||
"rev": "caf23f29144b371035b864a1017dbc32573ad56d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rust-lang",
|
||||
"ref": "nightly",
|
||||
"repo": "rust-analyzer",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
./tmux
|
||||
./topgrade
|
||||
./wget
|
||||
./wezterm
|
||||
./xdg
|
||||
./xsession
|
||||
./zathura
|
||||
|
|
42
home/wezterm/default.nix
Normal file
42
home/wezterm/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
|
||||
rose-pine.enable = true;
|
||||
|
||||
extraConfig =
|
||||
# lua
|
||||
''
|
||||
config.enable_tab_bar = false
|
||||
|
||||
config.font = wezterm.font_with_fallback({
|
||||
{ family = "${config.fonts.fontconfig.defaultFonts.monospace}" },
|
||||
{ family = "FairiesevkaTerm Nerd Font Mono" },
|
||||
{
|
||||
family = "FiraCode Nerd Font",
|
||||
harfbuzz_features = {
|
||||
"cv02",
|
||||
"cv06",
|
||||
"ss01",
|
||||
"cv14",
|
||||
"onum",
|
||||
"ss04",
|
||||
"cv18",
|
||||
"cv31",
|
||||
"cv30",
|
||||
"cv25",
|
||||
"cv26",
|
||||
"cv32",
|
||||
"ss06",
|
||||
"ss07",
|
||||
},
|
||||
},
|
||||
{ family = "Apple Color Emoji" },
|
||||
})
|
||||
|
||||
-- TODO: on mairley this should be set to 14.0
|
||||
config.font_size = 11.0
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue