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/bluetooth.nix
./locales/en_GB.nix
./desktop/hyprland.nix
./desktop/plasma.nix
./services/syncthing/J0162.nix
];
networking.hostName = "J0162"; # Define your hostname.
services.xserver.displayManager.defaultSession = "hyprland";
services.xserver.displayManager.defaultSession = "plasma";
users.users.elitherl = {
isNormalUser = true;

View file

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

View file

@ -1,15 +1,12 @@
{pkgs, ...}: let
delta = pkgs.callPackage ../home/desktop/pkgs/delta-icon-theme {};
in {
imports = [./xserver.nix ./xrdp.nix];
{pkgs, ...}: {
imports = [./sddm.nix];
services.xserver.desktopManager.plasma5.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
programs.kdeconnect.enable = true;
environment.systemPackages = [
pkgs.libsForQt5.lightly
pkgs.libsForQt5.kwindowsystem
pkgs.libsForQt5.ktorrent
pkgs.libsForQt5.krdc
delta.delta-icon-theme
environment.systemPackages = with pkgs; [
sweet
libsForQt5.lightly
libsForQt5.kwindowsystem
libsForQt5.ktorrent
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.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
@ -13,30 +17,4 @@
--delete-during --delete-excluded\
$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;
fade = true;
activeOpacity = 1.0;
inactiveOpacity = 0.8;
inactiveOpacity = 1.0;
menuOpacity = 0.8;
settings = {
blur = {
# requires: https://github.com/ibhagwan/picom
# method = "dual_kawase";
method = "gaussian";
size = 20;
deviation = 15;
method = "dual_kawase";
strength = 7;
background = false;
background-frame = false;

View file

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