diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 8b47543..0cd3f3a 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -1,4 +1,10 @@ -{ inputs, pkgs, config, lib, ... }: +{ + inputs, + pkgs, + config, + lib, + ... +}: { imports = [ ./hardware-configuration.nix @@ -9,7 +15,7 @@ # Enable fancy boot animations boot.plymouth.enable = true; - + powerManagement = { enable = true; # powertop.enable = true; @@ -17,12 +23,12 @@ }; environment.systemPackages = with pkgs; [ - fwupd # Update firmware for Framework Laptop 13 + fwupd # Update firmware for Framework Laptop 13 ]; - liv = { + liv = { laptop.enable = true; - desktop.enable = true; + desktop.enable = false; creative.enable = true; amdgpu.enable = true; }; @@ -33,19 +39,23 @@ networking.hostName = "sakura"; boot = { - kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ]; - kernelModules = ["acpi_call"]; + kernelParams = [ + "mem_sleep_default=deep" + "acpi_osi=\"!Windows 2020\"" + ]; + kernelModules = [ "acpi_call" ]; kernelPackages = pkgs.linuxPackages_latest; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; systemd-boot.configurationLimit = 10; }; - extraModulePackages = with config.boot.kernelPackages; + extraModulePackages = + with config.boot.kernelPackages; [ acpi_call cpupower ] - ++ [pkgs.cpupower-gui]; + ++ [ pkgs.cpupower-gui ]; }; } diff --git a/modules/core/virtualization.nix b/modules/core/virtualization.nix index b1d5133..b5e7cee 100644 --- a/modules/core/virtualization.nix +++ b/modules/core/virtualization.nix @@ -1,4 +1,7 @@ { # Causes issues for now :p - # virtualisation.vmware.host.enable = true; + virtualisation = { + # vmware.host.enable = true; + waydroid.enable = true; + }; } diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index f830246..bc02cf5 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -122,7 +122,8 @@ gaps_in = 5; gaps_out = 10; border_size = 2; - "col.active_border" = "rgb(cda5ef) rgb(cda5ef) 45deg"; + # "col.active_border" = "rgb(cda5ef) rgb(cda5ef) 45deg"; + "col.active_border" = "rgb(ffffff) rgb(ffffff) 45deg"; "col.inactive_border" = "0x00000000"; no_border_on_floating = false; }; @@ -315,31 +316,20 @@ # windowrule windowrule = [ - "float,imv" - "center,imv" - "size 1200 725,imv" - "float,mpv" - "center,mpv" - "tile,Aseprite" - "size 1200 725,mpv" "float,title:^(float_kitty)$" "center,title:^(float_kitty)$" "size 950 600,title:^(float_kitty)$" - "float,audacious" - "workspace 8 silent, audacious" - "tile, neovide" - "idleinhibit focus,mpv" - "float,udiskie" - "float,title:^(Transmission)$" + "idleinhibit focus,title:(mpv)$" + "float,title:^(udiskie)$" "float,title:^(Volume Control)$" "float,title:^(Librewolf — Sharing Indicator)$" "move 0 0,title:^(Librewolf — Sharing Indicator)$" "size 700 450,title:^(Volume Control)$" "move 40 55%,title:^(Volume Control)$" - "workspace 10, thunderbird" - "workspace 8, nheko" - "workspace 8, element-desktop" - "workspace 9, spotify" + "workspace 10, title:^(thunderbird)$" + "workspace 8, title:^(nheko)$" + "workspace 8, title:^(element-desktop)$" + "workspace 9, title:^(spotify)$" ]; # windowrulev2 @@ -350,7 +340,6 @@ "pin, title:^(Picture-in-Picture)$" "opacity 1.0 override 1.0 override, title:^(.*imv.*)$" "opacity 1.0 override 1.0 override, title:^(.*mpv.*)$" - "opacity 1.0 override 1.0 override, class:(Aseprite)" "opacity 1.0 override 1.0 override, class:(Unity)" "idleinhibit focus, class:^(mpv)$" "idleinhibit fullscreen, class:^(librewolf)$" diff --git a/modules/home/hyprlock/default.nix b/modules/home/hyprlock/default.nix index 69a3d44..fcd2a25 100644 --- a/modules/home/hyprlock/default.nix +++ b/modules/home/hyprlock/default.nix @@ -77,7 +77,7 @@ # WEATHER label { monitor = - text = cmd[update:1000] echo "$(bash /home/${username}/.local/bin/weather.sh)" + text = cmd[update:6000000] echo "$(bash /home/${username}/.local/bin/weather.sh)" color = rgba(255, 255, 255, 1) font_size = 10 font_family = JetBrains Mono Nerd Font Mono ExtraBold