Remove kdeconnect

Move udiskie and avizo into separate nix files
This commit is contained in:
Evie Litherland-Smith 2024-11-22 09:14:20 +00:00
parent fd25a6ed83
commit 56dfc26a9d
5 changed files with 26 additions and 23 deletions

View file

@ -53,7 +53,6 @@
noisetorch.enable = true;
seahorse.enable = true;
file-roller.enable = true;
kdeconnect.enable = true;
hyprland.enable = true;
xwayland.enable = true;
};

14
system/home/avizo.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, ... }:
{
services.avizo = {
enable = true;
settings.default = {
image-opacity = lib.mkForce "1.0";
border-color =
let
scheme = config.lib.stylix.scheme;
in
lib.mkForce "rgba(${scheme.base0E-rgb-r}, ${scheme.base0E-rgb-g}, ${scheme.base0E-rgb-b}, 1.0)";
};
};
}

View file

@ -7,9 +7,11 @@
}:
{
imports = [
./udiskie.nix
./waybar.nix
./fuzzel.nix
./mako.nix
./avizo.nix
];
home.packages = [
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
@ -22,27 +24,6 @@
hyprpaper.enable = true;
kanshi.systemdTarget = "hyprland-session.target";
gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
avizo = {
enable = true;
settings.default = {
image-opacity = lib.mkForce "1.0";
border-color =
let
scheme = config.lib.stylix.scheme;
in
lib.mkForce "rgba(${scheme.base0E-rgb-r}, ${scheme.base0E-rgb-g}, ${scheme.base0E-rgb-b}, 1.0)";
};
};
kdeconnect = {
enable = true;
indicator = true;
};
udiskie = {
enable = true;
notify = true;
automount = true;
tray = "never";
};
hypridle = {
enable = true;
settings =

View file

@ -1,2 +1,2 @@
shopt -s extglob
rm -rf ~/.config/!(dconf|kdeconnect|protonmail|Signal|WebCord)
rm -rf ~/.config/!(dconf|protonmail|Signal)

9
system/home/udiskie.nix Normal file
View file

@ -0,0 +1,9 @@
{ ... }:
{
services.udiskie = {
enable = true;
notify = true;
automount = true;
tray = "never";
};
}