changes :3
This commit is contained in:
parent
c50bfc3eea
commit
0ad695abcf
27 changed files with 1022 additions and 656 deletions
|
|
@ -9,6 +9,8 @@
|
|||
with lib;
|
||||
with lib.custom; let
|
||||
cfg = config.protocols.wayland;
|
||||
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
in {
|
||||
options.protocols.wayland = with types; {
|
||||
enable = mkBoolOpt false "Enable Wayland Protocol";
|
||||
|
|
@ -19,8 +21,8 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "niri-session";
|
||||
user = "zoey";
|
||||
command = "${tuigreet} --time --remember --remember-session";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -51,8 +53,8 @@ in {
|
|||
# ];
|
||||
|
||||
programs.hyprland = {
|
||||
withUWSM = false;
|
||||
enable = false;
|
||||
withUWSM = true;
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ in {
|
|||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
client_max_body_size 1G;
|
||||
client_max_body_size 4G;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,33 +28,33 @@ in {
|
|||
lexend
|
||||
jost
|
||||
dejavu_fonts
|
||||
# iosevka
|
||||
iosevka
|
||||
cantarell-fonts
|
||||
(iosevka.override
|
||||
{
|
||||
set = "Custom";
|
||||
privateBuildPlan = ''
|
||||
[buildPlans.IosevkaCustom]
|
||||
family = "Iosevka"
|
||||
spacing = "fontconfig-mono"
|
||||
serifs = "sans"
|
||||
noCvSs = true
|
||||
exportGlyphNames = true
|
||||
|
||||
[buildPlans.IosevkaCustom.variants]
|
||||
inherits = "ss08"
|
||||
|
||||
[buildPlans.IosevkaCustom.widths.Normal]
|
||||
shape = 500
|
||||
menu = 5
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.IosevkaCustom.widths.Extended]
|
||||
shape = 600
|
||||
menu = 7
|
||||
css = "expanded"
|
||||
'';
|
||||
})
|
||||
# (iosevka.override
|
||||
# {
|
||||
# set = "Custom";
|
||||
# privateBuildPlan = ''
|
||||
# [buildPlans.IosevkaCustom]
|
||||
# family = "Iosevka"
|
||||
# spacing = "fontconfig-mono"
|
||||
# serifs = "sans"
|
||||
# noCvSs = true
|
||||
# exportGlyphNames = true
|
||||
#
|
||||
# [buildPlans.IosevkaCustom.variants]
|
||||
# inherits = "ss08"
|
||||
#
|
||||
# [buildPlans.IosevkaCustom.widths.Normal]
|
||||
# shape = 500
|
||||
# menu = 5
|
||||
# css = "normal"
|
||||
#
|
||||
# [buildPlans.IosevkaCustom.widths.Extended]
|
||||
# shape = 600
|
||||
# menu = 7
|
||||
# css = "expanded"
|
||||
# '';
|
||||
# })
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
|
|
@ -66,6 +66,28 @@ in {
|
|||
adwaita-fonts
|
||||
cozette
|
||||
scientifica
|
||||
(material-symbols.overrideAttrs {
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "material-design-icons";
|
||||
rev = "941fa95d7f6084a599a54ca71bc565f48e7c6d9e";
|
||||
hash = "sha256-rH/SSBP3xgiyUDyF371pmg8wAi2xavS79vKmOhyLEmI=";
|
||||
sparseCheckout = ["variablefont" "font"];
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
rename 's/\[FILL,GRAD,opsz,wght\]//g' variablefont/*
|
||||
install -Dm755 variablefont/*.ttf -t $out/share/fonts/TTF
|
||||
install -Dm755 variablefont/*.woff2 -t $out/share/fonts/woff2
|
||||
|
||||
install -Dm755 font/*.ttf -t $out/share/fonts/TTF
|
||||
install -Dm755 font/*.otf -t $out/share/fonts/OTF
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
})
|
||||
# (nerdfonts.override {fonts = ["ZedMono" "Iosevka"];})
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue