added wezterm

This commit is contained in:
cnst
2024-07-05 15:32:13 +02:00
parent cca2745dfa
commit f4a9173ab9
10 changed files with 47 additions and 31 deletions

36
flake.lock generated
View File

@@ -48,11 +48,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720009717, "lastModified": 1720178308,
"narHash": "sha256-HICfiksmANfwC0UaoFJ3L6mLV/mObx6Ad4OtT0w22Zw=", "narHash": "sha256-f6XoinA5yS5VrzIEpj4xf6hYT5bD7HqLBGS01wg2kCg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flake-firefox-nightly", "repo": "flake-firefox-nightly",
"rev": "a78c64a4dabce5e65361bafc6c1508981c385d71", "rev": "35d77c2f1a85aebab21d059c04ced002794db5d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -153,11 +153,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719877454, "lastModified": 1719994518,
"narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=", "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4e3583423212f9303aa1a6337f8dffb415920e4f", "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -373,11 +373,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719992360, "lastModified": 1720167120,
"narHash": "sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes=", "narHash": "sha256-K9JYdlPiyaXp33JRg7CT8rMwH56e4ncXSsXW/YKnNXc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "36e2f9da91ce8b63a549a47688ae60d47c50de4b", "rev": "bbe6e94737289c8cb92d4d8f9199fbfe4f11c0ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -458,11 +458,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719971132, "lastModified": 1720161606,
"narHash": "sha256-/u/dRd43l8WHW8WIEAtMf4KnayefCLpB3VpLF2FBEno=", "narHash": "sha256-B0n9ZIrXGPN0oS1DKBYZu2P1fTsnYMmXQkFtj/6mEQ8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "97bbe0cc1dc3d8962a9d15404a3c41da0ad2a3b3", "rev": "9e1740926b3910db38a8864e0220d012e14f7e8e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -474,11 +474,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1719963642, "lastModified": 1720137094,
"narHash": "sha256-2+K/i8t4FkGCHEanISE8Q/SbLmWKp1dtpGlf44/x4m0=", "narHash": "sha256-K3iDLJy3K/ivR0uTlu2EXT+zrwMYNRn+CBGo+0kxxoc=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "d413038b4fd71b7a335b6653aa64d2cb6daeac7b", "rev": "3e6cec0befd41d37ee36cb4f602e84c58c5f0d27",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -573,11 +573,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1719848872, "lastModified": 1720031269,
"narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=", "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8", "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
home.pointerCursor = { home.pointerCursor = {
name = "Adwaita"; name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme; package = pkgs.gnome.adwaita-icon-theme;
@@ -16,8 +15,8 @@
name = "Gruvbox-Plus-Dark"; name = "Gruvbox-Plus-Dark";
}; };
font = { font = {
name = "FiraCode Nerd Font Light"; name = "Monoid Nerd Font Retina Regular";
size = 11; size = 9;
}; };
}; };
} }

View File

@@ -5,6 +5,7 @@
}: { }: {
imports = [ imports = [
./kitty ./kitty
./wezterm
./firefox ./firefox
./neovim ./neovim
./mako ./mako

View File

@@ -5,7 +5,7 @@
settings = { settings = {
enable_audio_bell = false; enable_audio_bell = false;
open_url_with = "firefox-nightly"; open_url_with = "firefox-nightly";
font_family = "Rec Mono Linear"; font_family = "Input Mono Extra Light";
bold_font = "auto"; bold_font = "auto";
italic_font = "auto"; italic_font = "auto";
bold_italic_font = "auto"; bold_italic_font = "auto";

View File

@@ -0,0 +1,7 @@
{
programs.wezterm = {
enable = true;
enableZshIntegration = true;
colorSchemes = "Gruvbox Material (Gogh)";
};
}

View File

@@ -22,6 +22,7 @@
overlays = []; overlays = [];
config = { config = {
allowUnfree = true; allowUnfree = true;
input-fonts.acceptLicense = true;
}; };
}; };

View File

@@ -7,14 +7,22 @@
fira-code-symbols fira-code-symbols
font-awesome font-awesome
recursive recursive
jetbrains-mono input-fonts
(nerdfonts.override { (nerdfonts.override {
fonts = [ fonts = [
"JetBrainsMono" "JetBrainsMono"
"FiraCode" "FiraCode"
"FiraMono"
"Iosevka" "Iosevka"
"3270" "3270"
"DroidSansMono" "DroidSansMono"
"SourceCodePro"
"UbuntuMono"
"Overpass"
"Monoid"
"Mononoki"
"Hack"
"IBMPlexMono"
]; ];
}) })
]; ];

View File

@@ -5,11 +5,12 @@
xwayland.enable = true; xwayland.enable = true;
}; };
environment.sessionVariables = { environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
AMD_VULKAN_ICD = "RADV"; # AMD_VULKAN_ICD = "RADV";
SDL_VIDEODRIVER = "wayland"; # SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland"; # QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland"; # XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; # QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
}; };
} }

View File

@@ -19,7 +19,6 @@
"usbhid" "usbhid"
"usb_storage" "usb_storage"
"sd_mod" "sd_mod"
"amdgpu"
]; ];
kernelModules = []; kernelModules = [];
}; };

View File

@@ -39,7 +39,7 @@
extraLayouts.hhkbse = { extraLayouts.hhkbse = {
description = "HHKBse by cnst"; description = "HHKBse by cnst";
languages = ["se"]; languages = ["se"];
symbolsFile = /home/cnst/.nix-config/hosts/cnix/xkb/symbols/hhkbse; symbolsFile = /home/cnst/.nix-config/nixos/hosts/cnix/xkb/symbols/hhkbse;
}; };
layout = "hhkbse"; layout = "hhkbse";
# dir = "/home/cnst/.nix-config/nixos/xkb"; # dir = "/home/cnst/.nix-config/nixos/xkb";