1
0
Fork 0

Change system font

This commit is contained in:
Avery 2024-11-15 18:43:07 +01:00
parent 4a107f660c
commit b07ebe102c
Signed by: Avery
GPG key ID: B684FD451B692E04
8 changed files with 95 additions and 59 deletions

View file

@ -36,6 +36,7 @@
swww
lxqt.lxqt-policykit
qdiskinfo
mangohud
];
};
nixpkgs.config.allowUnfree = true;

View file

@ -6,8 +6,7 @@
name = "kora";
};
font = {
package = pkgs.ubuntu-sans;
name = "Ubuntu Sans";
name = "Inter";
size = 10;
};
theme = {

View file

@ -2,8 +2,8 @@
programs.kitty = {
enable = true;
font = {
name = "UbuntuMono Nerd Font";
size = 14;
name = "Iosevka Nerd Font";
size = 12;
};
keybindings = {
"ctrl+alt+1" = "goto_tab 1";

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
let
variant = "Mocha";
accent = "Mauve";
variant = "mocha";
accent = "mauve";
catppuccin-kvantum =
pkgs.catppuccin-kvantum.override { inherit variant accent; };
in {
@ -21,9 +21,9 @@ in {
xdg.configFile = {
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=Catppuccin-${variant}-${accent}
theme=catppuccin-${variant}-${accent}
'';
"Kvantum/Catppuccin-${variant}-${accent}".source =
"${catppuccin-kvantum}/share/Kvantum/Catppuccin-${variant}-${accent}";
"Kvantum/catppuccin-${variant}-${accent}".source =
"${catppuccin-kvantum}/share/Kvantum/catppuccin-${variant}-${accent}";
};
}

View file

@ -68,7 +68,6 @@ pkgs.writeShellApplication {
echo "Setting wallpaper to $WALLPAPER"
echo "$WALLPAPER" > "$WALLPAPER_PATH/.current_path"
ln -sf "$WALLPAPER" "$WALLPAPER_PATH/.current_image"
dunstify -i "$WALLPAPER" -t 2800 "Cambiando fondo de pantalla" "Cambiando a $WALLPAPER_NAME"
swww img\
--transition-type wipe\
--transition-angle $TRANSITION_ANGLE\
@ -76,6 +75,6 @@ pkgs.writeShellApplication {
--transition-duration 1\
--transition-fps 165\
"$WALLPAPER"
dunstify -i "$WALLPAPER" -t 2800 "Cambiando fondo de pantalla" "Cambiando a $WALLPAPER_NAME"
'';
}

View file

@ -19,6 +19,7 @@
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
};
supportedFilesystems = [ "ntfs" ];
};
environment.systemPackages = with pkgs; [ ffmpeg-full gparted ];
@ -28,7 +29,7 @@
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 8000 42595 ];
allowedTCPPorts = [ 8000 42595 1420 ];
allowedUDPPorts = [ 24642 ];
};
hostName = "totsugeki";
@ -63,9 +64,9 @@
fontconfig = {
defaultFonts = {
serif = [ "Ubuntu Sans" ];
sansSerif = [ "Ubuntu Sans" ];
monospace = [ "Ubuntu Mono Nerd Font" ];
serif = [ "Inter" ];
sansSerif = [ "Inter" ];
monospace = [ "Iosevka Nerd Font" ];
};
};
};
@ -109,7 +110,7 @@
};
gvfs.enable = true;
jellyfin = {
enable = true;
enable = false;
openFirewall = true;
};
pipewire = {

View file

@ -5,21 +5,28 @@
fsType = "btrfs";
options = [ "compress=zstd:15" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/8084-F762";
fsType = "vfat";
};
"/home" = {
device = "/dev/disk/by-uuid/4bbd6139-7caa-4617-a94f-b185c5f6ca45";
fsType = "btrfs";
};
"/mnt/Datos" = {
device = "/dev/disk/by-uuid/994ef2bd-a9fb-4414-9a0a-19b150ffa452";
fsType = "btrfs";
options = [ "user" "x-systemd.automount" "exec" ];
#"/mnt/Datos" = {
# device = "/dev/disk/by-uuid/eb3b01e9-556f-4c9d-aa99-5495c1bc51e1";
# fsType = "btrfs";
# options = [ "user" "x-systemd.automount" "exec" ];
#};
"/mnt/Windows" = {
device = "/dev/disk/by-uuid/E290A87190A84DBB";
fsType = "ntfs";
options = [ "nofail" ];
};
#"/mnt/Windows-Datos" = {
# device = "/dev/disk/by-uuid/1E58C48458C45BE1";
# fsType = "ntfs";
# options = [ "nofail" ];
#};
};
}