Update plasma dependencies, use for J0162

Update picom to use dual_kawase blur
This commit is contained in:
Evie Litherland-Smith 2023-06-13 08:01:43 +01:00
parent 3bcba72370
commit 26c2e7a436
6 changed files with 20 additions and 52 deletions

View file

@ -4,11 +4,12 @@
./hardware/audio.nix ./hardware/audio.nix
./hardware/bluetooth.nix ./hardware/bluetooth.nix
./locales/en_GB.nix ./locales/en_GB.nix
./desktop/hyprland.nix ./desktop/plasma.nix
./services/syncthing/J0162.nix
]; ];
networking.hostName = "J0162"; # Define your hostname. networking.hostName = "J0162"; # Define your hostname.
services.xserver.displayManager.defaultSession = "hyprland"; services.xserver.displayManager.defaultSession = "plasma";
users.users.elitherl = { users.users.elitherl = {
isNormalUser = true; isNormalUser = true;

View file

@ -34,7 +34,6 @@ in {
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
fonts.fontconfig.enable = true;
programs = { programs = {
ssh.startAgent = true; ssh.startAgent = true;
fish.enable = true; fish.enable = true;

View file

@ -1,15 +1,12 @@
{pkgs, ...}: let {pkgs, ...}: {
delta = pkgs.callPackage ../home/desktop/pkgs/delta-icon-theme {}; imports = [./sddm.nix];
in {
imports = [./xserver.nix ./xrdp.nix];
services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.plasma5.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
environment.systemPackages = [ environment.systemPackages = with pkgs; [
pkgs.libsForQt5.lightly sweet
pkgs.libsForQt5.kwindowsystem libsForQt5.lightly
pkgs.libsForQt5.ktorrent libsForQt5.kwindowsystem
pkgs.libsForQt5.krdc libsForQt5.ktorrent
delta.delta-icon-theme libsForQt5.krdc
]; ];
} }

View file

@ -1,5 +1,9 @@
{pkgs, ...}: { {
imports = [../work.nix ../desktop/hyprland.nix]; pkgs,
config,
...
}: {
imports = [../work.nix ../desktop/picom.nix];
home.username = "elitherl"; home.username = "elitherl";
home.homeDirectory = "/home/elitherl"; home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
@ -13,30 +17,4 @@
--delete-during --delete-excluded\ --delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim $HOME/.config/nvim/ freia:.config/nvim
''; '';
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
programs.waybar = {
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
"cpu"
"memory"
"temperature"
"pulseaudio"
"network"
"backlight"
"battery"
"tray"
];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
};
};
};
} }

View file

@ -5,14 +5,11 @@
shadow = true; shadow = true;
fade = true; fade = true;
activeOpacity = 1.0; activeOpacity = 1.0;
inactiveOpacity = 0.8; inactiveOpacity = 1.0;
menuOpacity = 0.8;
settings = { settings = {
blur = { blur = {
# requires: https://github.com/ibhagwan/picom method = "dual_kawase";
# method = "dual_kawase";
method = "gaussian";
size = 20;
deviation = 15;
strength = 7; strength = 7;
background = false; background = false;
background-frame = false; background-frame = false;

View file

@ -7,9 +7,5 @@
{id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden {id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
{id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin {id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin
]; ];
commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
}; };
} }