From a6496a874d940a102e136ed1dfa13412fb4e2fdb Mon Sep 17 00:00:00 2001 From: k Date: Tue, 9 Dec 2025 23:09:31 -0500 Subject: [PATCH] switched to hyprland --- hosts/home/hyprland.nix | 4 +++- hosts/laptop/configuration.nix | 20 +++++++++++++++----- hosts/laptop/home.nix | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/hosts/home/hyprland.nix b/hosts/home/hyprland.nix index 046c37c..bba634b 100644 --- a/hosts/home/hyprland.nix +++ b/hosts/home/hyprland.nix @@ -51,7 +51,9 @@ settings = { exec-once = [ #"${pkgs.iio-hyprland}/bin/iio-hyprland" - #"${pkgs.batsignal}/bin/batsignal -n BAT0 -b" + "${pkgs.batsignal}/bin/batsignal -n BAT0 -b" + "${pkgs.waybar}/bin/waybar" + "${pkgs.hyprpaper}/bin/hyprpaper" ]; monitor = "eDP-1,preferred,auto,1"; general = { diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index cd28a32..bb28d78 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -55,12 +55,18 @@ services = { hardware.bolt = {enable = true;}; - xserver = { - displayManager.gdm.enable = true; - desktopManager.gnome.enable = true; + displayManager.ly = { + enable = true; + x11Support = false; + settings = { + animation = "colormix"; + battery_id = "BAT0"; + clear_password = true; + colormix_col1 = "0xA7C080"; + colormix_col2 = "0x7FBBB3"; + colormix_col3 = "0xE67E80"; + }; }; - gnome.core-apps.enable = false; - pipewire = { enable = true; alsa.enable = true; @@ -146,11 +152,15 @@ programs = { zsh.enable = true; virt-manager.enable = true; + hyprland = { + enable = true; + }; }; virtualisation = { libvirtd = {enable = true;}; kvmgt = {enable = true;}; + docker = {enable = true;}; }; users.users.k = { diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 6796509..57468f2 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -6,7 +6,7 @@ }: { imports = [ ../home/home_common.nix - ../home/gnome.nix + ../home/hyprland.nix ]; nixpkgs.config.allowUnfree = true;