Home Gen509 @ 2025-05-03-15:04 by jonas@comfy-station
This commit is contained in:
parent
9ebf6152a0
commit
31a51c89c3
@ -1,11 +1,7 @@
|
|||||||
{config, ...}: rec {
|
{config, ...}: rec {
|
||||||
imports = [
|
imports = [
|
||||||
../modules/home/borg.nix
|
../modules/home/borg.nix
|
||||||
../modules/home/firefox.nix
|
|
||||||
../modules/home/kdeconnect.nix
|
|
||||||
../modules/home/ssh.nix
|
../modules/home/ssh.nix
|
||||||
../modules/home/themes/gtk
|
|
||||||
../modules/home/themes/qt
|
|
||||||
../modules/home/yubikey.nix
|
../modules/home/yubikey.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -22,6 +18,12 @@
|
|||||||
hive.hyprland.enable = true;
|
hive.hyprland.enable = true;
|
||||||
hive.kitty.enable = true;
|
hive.kitty.enable = true;
|
||||||
hive.nextcloud.enable = true;
|
hive.nextcloud.enable = true;
|
||||||
|
hive.firefox = {
|
||||||
|
enable = true;
|
||||||
|
plasmaIntegration = true;
|
||||||
|
passFF = true;
|
||||||
|
};
|
||||||
|
hive.kdeconnect.enable = true;
|
||||||
hive.ranger.enable = true;
|
hive.ranger.enable = true;
|
||||||
hive.swaync.enable = true;
|
hive.swaync.enable = true;
|
||||||
hive.waybar.enable = true;
|
hive.waybar.enable = true;
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
{config, ...}: rec {
|
{config, ...}: rec {
|
||||||
imports = [
|
imports = [
|
||||||
../modules/home/borg.nix
|
../modules/home/borg.nix
|
||||||
../modules/home/firefox.nix
|
|
||||||
../modules/home/kdeconnect.nix
|
|
||||||
../modules/home/ssh.nix
|
../modules/home/ssh.nix
|
||||||
../modules/home/yubikey.nix
|
../modules/home/yubikey.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@ -38,5 +38,9 @@
|
|||||||
./home/wlogout
|
./home/wlogout
|
||||||
./home/wofi
|
./home/wofi
|
||||||
./home/zsh
|
./home/zsh
|
||||||
|
./home/firefox.nix
|
||||||
|
./home/kdeconnect.nix
|
||||||
|
./home/plasma.nix
|
||||||
|
./home/wallpaper.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,18 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
cfg = config.hive.firefox;
|
||||||
|
in {
|
||||||
|
options.hive.firefox = {
|
||||||
|
enable = lib.mkEnableOption "Enable Firefox";
|
||||||
|
plasmaIntegration = lib.mkEnableOption "Enable Plasma Integration";
|
||||||
|
passFF = lib.mkEnableOption "Enable PassFF";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@ -40,15 +49,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
|
extensions = with inputs.firefox-addons.packages."x86_64-linux"; ([
|
||||||
ublock-origin
|
ublock-origin
|
||||||
violentmonkey
|
violentmonkey
|
||||||
plasma-integration
|
]
|
||||||
passff
|
++ lib.optional cfg.plasmaIntegration plasma-integration
|
||||||
];
|
++ lib.optional cfg.passFF passff);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
passff-host
|
lib.optional cfg.passFF
|
||||||
];
|
pkgs.passff-host;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,15 @@
|
|||||||
{...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.hive.kdeconnect;
|
||||||
|
in {
|
||||||
|
options.hive.kdeconnect = {
|
||||||
|
enable = lib.mkEnableOption "Enable KDE Connect";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
services.kdeconnect.enable = true;
|
services.kdeconnect.enable = true;
|
||||||
services.kdeconnect.indicator = false;
|
services.kdeconnect.indicator = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
home.file.".local/share/wallpaper" = {
|
cfg = config.hive.plasma;
|
||||||
source = ./static/wallpaper;
|
in {
|
||||||
recursive = true;
|
options.hive.plasma.enable = lib.mkEnableOption "Plasma configuration";
|
||||||
};
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
# load hm-vars in x-session
|
# load hm-vars in x-session
|
||||||
xsession.enable = true;
|
xsession.enable = true;
|
||||||
|
|
||||||
@ -15,6 +17,12 @@
|
|||||||
QT_STYLE_OVERRIDE = "kvantum";
|
QT_STYLE_OVERRIDE = "kvantum";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# provide kvantum and nord theme
|
||||||
|
home.packages = [
|
||||||
|
pkgs.utterly-nord-plasma
|
||||||
|
pkgs.libsForQt5.qtstyleplugin-kvantum
|
||||||
|
];
|
||||||
|
|
||||||
programs.konsole = {
|
programs.konsole = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultProfile = "default";
|
defaultProfile = "default";
|
||||||
@ -34,6 +42,23 @@
|
|||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
qt.style.name = "kvantum";
|
qt.style.name = "kvantum";
|
||||||
|
|
||||||
|
# add nord like gtk theme
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
cursorTheme = {
|
||||||
|
package = pkgs.nordzy-cursor-theme;
|
||||||
|
name = "Nordzy-cursors";
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
package = pkgs.nordic;
|
||||||
|
name = "Nordic";
|
||||||
|
};
|
||||||
|
iconTheme = {
|
||||||
|
package = pkgs.tela-circle-icon-theme;
|
||||||
|
name = "Tela-circle-nord";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
overrideConfig = true;
|
overrideConfig = true;
|
||||||
@ -138,4 +163,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
16
modules/home/wallpaper.nix
Normal file
16
modules/home/wallpaper.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.hive.wallpaper;
|
||||||
|
in {
|
||||||
|
options.hive.wallpaper.enable = lib.mkEnableOption "Wallpaper symlink";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.file.".local/share/wallpaper" = {
|
||||||
|
source = ./static/wallpaper;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user