mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Split common.nix into multiple files
This commit is contained in:
parent
7fdb1aaaac
commit
0ee2ebadb4
8 changed files with 120 additions and 58 deletions
37
dot_config/home-manager/home/gui.nix
Normal file
37
dot_config/home-manager/home/gui.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
nixGLIntel = inputs.nixgl.packages."${pkgs.system}".nixGLIntel;
|
||||
in {
|
||||
imports = [
|
||||
(builtins.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/Smona/home-manager/nixgl-compat/modules/misc/nixgl.nix";
|
||||
sha256 = "01dkfr9wq3ib5hlyq9zq662mp0jl42fw3f6gd2qgdf8l8ia78j7i";
|
||||
})
|
||||
];
|
||||
|
||||
nixGL.prefix = "${nixGLIntel}/bin/nixGLIntel";
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = config.lib.nixGL.wrap pkgs.alacritty;
|
||||
};
|
||||
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
package = config.lib.nixGL.wrap pkgs.wezterm;
|
||||
extraConfig = ''
|
||||
return {
|
||||
font_size=9.25,
|
||||
color_scheme="catppuccin-latte",
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
window_frame = {
|
||||
font_size = 10
|
||||
},
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue