diff --git a/home-manager/common/desktop/default.nix b/home-manager/common/desktop/default.nix index 02cbbe9..1e61bbb 100644 --- a/home-manager/common/desktop/default.nix +++ b/home-manager/common/desktop/default.nix @@ -1,7 +1,9 @@ { inputs, pkgs, ... }: { - imports = [ ]; + imports = [ + ./picom.nix + ]; nixpkgs.overlays = [ (final: prev: { diff --git a/home-manager/sajenim/services/picom.nix b/home-manager/common/desktop/picom.nix similarity index 72% rename from home-manager/sajenim/services/picom.nix rename to home-manager/common/desktop/picom.nix index 992d756..e07a677 100644 --- a/home-manager/sajenim/services/picom.nix +++ b/home-manager/common/desktop/picom.nix @@ -1,4 +1,4 @@ -{ inputs, outputs, lib, config, pkgs, ... }: +{ ... }: { services.picom = { @@ -8,7 +8,6 @@ settings = { corner-radius = 10; rounded-corners-exclude = [ - # "window_type = 'normal'" "window_type = 'dock'" ]; }; diff --git a/home-manager/common/desktop/xinitrc b/home-manager/common/desktop/xinitrc index b87c514..d7056dd 100644 --- a/home-manager/common/desktop/xinitrc +++ b/home-manager/common/desktop/xinitrc @@ -4,7 +4,10 @@ xrandr --output HDMI-A-0 --mode 1920x1080 --output DisplayPort-0 --mode 2560x1440 --right-of HDMI-A-0 # Apply our wallpaper -feh --bg-scale /etc/nixos/assets/chinatown.png +feh --bg-scale ~/dotfiles.nix/assets/chinatown.png + +# Enable our compositor +picom -b # Launch our window manager exec xmonad