diff --git a/Droidnix/README.html b/Droidnix/README.html index 5b5960faa..c526d8435 100644 --- a/Droidnix/README.html +++ b/Droidnix/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Droidnix: A Dendritic NixOS + Home Manager Configuration NixOS Configuration Structure @@ -204,135 +204,136 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -348,25 +349,25 @@

Introduction   intro

-
-

What is Droidnix

-
+
+

What is Droidnix

+

Droidnix is a modular, declarative NixOS + Home Manager configuration system. with configurations managed via Emacs Org and Nix Flakes. The project is designed for reproducibility, maintainability, and cross-machine compatibility.

-
-

Installed components:

-
+
+

Installed components:

+
    -
  • Core
  • -
  • Hyprland
  • +
  • Core
  • +
  • Hyprland
-
-

Goals, project Structure, import hierarchy

-
+
+

Goals, project Structure, import hierarchy

+

This project uses a modular NixOS configuration with Hyprland support, designed for literate programming and cross-device reusability. The Droidnix repository is organized into two main parts: @@ -379,9 +380,9 @@ The Droidnix repository is organized into two main parts:

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -392,16 +393,16 @@ The Droidnix repository is organized into two main parts:
-
-

Generated Structure

-
+
+

Generated Structure

+

The generated/ directory contains all generated configurations, divided into three main groups: system, hyprland, and mangowc.

-
-

First Setup

-
+
+

First Setup

+
  1. Clone this repository.
  2. Run the setup script: ./setup_droid.
  3. @@ -422,9 +423,9 @@ The generated/ directory contains all generated configurations, div The .assets/ folder contains all static files, such as configs, scripts, and themes. These files are not generated and can be edited directly.

-
-

generated/assets/2_b_installed.conf

-
+
+

generated/assets/2_b_installed.conf

+

This is a list of additional apps to install

@@ -453,11 +454,11 @@ git gparted grim grimblast +galculator handbrake hyperfine just jq -kdePackages.kdeconnect-kde libreoffice lua nextcloud-client @@ -499,9 +500,9 @@ com.todoist.Todoist
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

@@ -543,9 +544,9 @@ keys=hyprctl binds This section contains the Org blocks for tangling Nix code into the generated folders.

-
-

generated/flake.nix

-
+
+

generated/flake.nix

+

The Nix flake definition for Droidnix.

@@ -634,9 +635,9 @@ The Nix flake definition for Droidnix.
-
-

generated/modules/traveldroid/system/colors.nix

-
+
+

generated/modules/traveldroid/system/colors.nix

+

Setting the colors for Droidnix.

@@ -720,9 +721,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
 { config, pkgs, lib, flakeRoot, ... }:
@@ -791,9 +792,9 @@ in
 
-
-

generated/hosts/traveldroid/hardware-configuration.nix

-
+
+

generated/hosts/traveldroid/hardware-configuration.nix

+
  1. Boot into NixOS Live ISO or your installed system.
  2. Open a terminal.
  3. @@ -851,9 +852,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -912,13 +913,13 @@ in
 
-
-

generated/traveldroid/modules/apps

-
+
+

generated/traveldroid/modules/apps

+
-
-

generated/modules/traveldroid/apps/2_b_installed.nix

-
+
+

generated/modules/traveldroid/apps/2_b_installed.nix

+

This installs a list of apps

@@ -1026,9 +1027,9 @@ in {
-
-

generated/modules/traveldroid/apps/emacs/emacs.nix

-
+
+

generated/modules/traveldroid/apps/emacs/emacs.nix

+

This installs emacs

@@ -1124,15 +1125,14 @@ in
-
-

generated/modules/traveldroid/apps/flameshot.nix

-
+
+

generated/modules/traveldroid/apps/flameshot.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

{ pkgs, config, lib, ... }:
-
 let
   username = config.defaultUser or "henrov";
 in
@@ -1148,8 +1148,6 @@ in
   # Home Manager user-level configuration
   ############################
   home-manager.users."${username}" = {
-    home.stateVersion = "26.05";
-
     home.sessionVariables = {
       SCREENSHOT_TOOL = "flameshot";
       USERNAME        = username;
@@ -1159,15 +1157,74 @@ in
     home.file."Pictures/Screenshots/.keep" = {
       text = "";   # empty file
     };
+
+    home.file.".config/flameshot/flameshot.ini".text = ''
+      [General]
+      ; Border color: A solid blend of @blue and @green (approximates the gradient)
+      buttonColor=#95c2e0
+      ; Sidebar and inactive elements: Use @surface2 for subtlety
+      sidebarColor=#585b70
+      ; Active buttons: Use @peach for contrast
+      buttonActiveColor=#fab387
+      ; Text/icons: Use @text for readability
+      contrastingUIColor=#cdd6f4
+      showDesktopNotification=true
+      savePath=${config.xdg.picturesDir}/Screenshots
+      filenamePattern=$Y-$m-$d_$H-$M-$S
+      copyPathAfterCapture=true
+      '';
   };
 }
 
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kdeconnect.nix

+
+

+This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder +

+
+
{ config, pkgs, ... }:
+let
+  username = "henrov";
+in
+{
+  environment.systemPackages = with pkgs; [
+    kdePackages.kdeconnect-kde
+  ];
+
+  systemd.user.services.kdeconnect = {
+    enable = true;
+    description = "KDE Connect daemon";
+    wantedBy = ["default.target"];
+    serviceConfig = {
+      ExecStart = "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnectd";
+      Restart = "on-failure";
+    };
+  };
+
+  systemd.users.userLinger = [${username}];
+
+  # Hyprland config (if managed via Nix)
+  programs.hyprland = {
+    enable = true;
+    config = {
+      autostart = [
+        "systemctl --user start kdeconnect.service"
+      ];
+    };
+  };
+}
+
+
+
+
+
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1225,9 +1282,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

@@ -1266,9 +1323,9 @@ in
-
-

generated/modules/traveldroid/apps/thunar.nix

-
+
+

generated/modules/traveldroid/apps/thunar.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

@@ -1314,9 +1371,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1349,9 +1406,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1371,9 +1428,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1487,13 +1544,13 @@ in
-
-

generated/modules/traveldroid/desktop

-
+
+

generated/modules/traveldroid/desktop

+
-
-

generated/modules/traveldroid/desktop/fonts.nix

-
+
+

generated/modules/traveldroid/desktop/fonts.nix

+

This file installs and configures fonts

@@ -1511,9 +1568,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1539,9 +1596,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1587,9 +1644,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -1676,9 +1733,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1777,9 +1834,9 @@ in
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1846,9 +1903,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -1878,9 +1935,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -1934,13 +1991,13 @@ in
-
-

generated/modules/traveldroid/system

-
+
+

generated/modules/traveldroid/system

+
-
-

generated/modules/traveldroid/system/audio.nix

-
+
+

generated/modules/traveldroid/system/audio.nix

+
{ lib, config, pkgs, ... }:
 
@@ -1959,9 +2016,9 @@ in
 
-
-

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -1981,9 +2038,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

@@ -2010,9 +2067,9 @@ in
-
-

generated/modules/traveldroid/system/copy_scripts.nix

-
+
+

generated/modules/traveldroid/system/copy_scripts.nix

+

This copies any scripts from generated.config/scripts to ~/.config/scripts and makes any .sh files executable.

@@ -2053,9 +2110,9 @@ in
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -2082,9 +2139,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2165,9 +2222,9 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

@@ -2223,9 +2280,9 @@ in
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

@@ -2282,9 +2339,9 @@ in
-
-

generated/modules/traveldroid/system/gnome-keyring.nix

-
+
+

generated/modules/traveldroid/system/gnome-keyring.nix

+

This sets the dbus implementation

@@ -2332,9 +2389,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/login-tuigreet.nix

-
+
+

generated/modules/traveldroid/system/login-tuigreet.nix

+

This sets up tuigreeter which is not fancy but imo fits the aesthetic I am aiming for

@@ -2388,9 +2445,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2439,9 +2496,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

+
{ lib, config, ... }:
 
@@ -2457,9 +2514,9 @@ This sets the networking.
 
-
-

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2483,9 +2540,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

@@ -2538,13 +2595,13 @@ in
-
-

generated/users

-
+
+

generated/users

+
-
-

generated/users/

-
+
+

generated/users/

+

This is the default user, just search and replace henrov another name if you want to change

@@ -2606,9 +2663,9 @@ in

These are all the prepared config files

-
-

generated/.config/emacs/early-init.el

-
+
+

generated/.config/emacs/early-init.el

+

This contaions emacs

@@ -2709,9 +2766,9 @@ package-archive-priorities '(("gnu" . 99)
-
-

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -3121,16 +3178,14 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

-
# ./assets/conf/desktop/hypr/animations.conf
-
-animations {
+
animations {
     enabled = yes
     bezier = myBezier, 0.05, 0.9, 0.1, 1.05
     animation = windows, 1, 7, myBezier
@@ -3144,9 +3199,9 @@ animations {
 
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -3168,9 +3223,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -3188,11 +3243,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen + +# Flameshot keybindings +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev @@ -3337,15 +3399,15 @@ bind = $mainMod, U, exec, kitty -e bash -lc "$HOME/.config/scripts/update.sh"
-
-

generated/.config/hypr/exec-once.conf

-
+
+

generated/.config/hypr/exec-once.conf

+

These are config files for .config/hypr

exec-once = dbus-update-activation-environment --systemd --all
-exec-once = hypridleconfig/hypr/exec-once
+exec-once = hypridle
 exec-once = systemd-run --user --scope --unit=elephant elephant
 exec-once = waybar
 exec-once = awww-daemon
@@ -3355,13 +3417,14 @@ exec-once = ~/.config/scripts/workspace-listener.sh
 exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
 exec-once = nextcloud --background
 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+exec-once flameshot
 
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3392,9 +3455,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3424,9 +3487,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -3445,9 +3508,9 @@ source = ./workspace-rules.conf
-
-

generated/.config/hypr/layer-rules.conf

-
+
+

generated/.config/hypr/layer-rules.conf

+

These are config files for .config/hypr

@@ -3462,9 +3525,9 @@ layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window
-
-

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3479,9 +3542,9 @@ scrolling {
-
-

generated/.config/hypr/monitor-rules.conf

-
+
+

generated/.config/hypr/monitor-rules.conf

+

These are config files for .config/hypr

@@ -3492,9 +3555,9 @@ monitor = eDP-1, preferred, auto-left, 1.5
-
-

generated/.config/hypr/theming.conf

-
+
+

generated/.config/hypr/theming.conf

+

These are config files for .config/hypr

@@ -3560,9 +3623,9 @@ misc {
-
-

generated/.config/hypr/window-rules.conf

-
+
+

generated/.config/hypr/window-rules.conf

+

These are config files for .config/hypr

@@ -3626,9 +3689,9 @@ windowrule {
-
-

generated/.config/hypr/workspace-rules.conf

-
+
+

generated/.config/hypr/workspace-rules.conf

+

These setttings configure rules for workspaces

@@ -3643,9 +3706,9 @@ workspace = 6, monitor:DP-1, layout:dwindle
-
-

generated/.config/quickshell/media/shell.qml

-
+
+

generated/.config/quickshell/media/shell.qml

+

offers a adio widget

@@ -4039,9 +4102,9 @@ ShellRoot {
-
-

generated/.config/quickshell/powermenu/shell.qml

-
+
+

generated/.config/quickshell/powermenu/shell.qml

+

Provides a powermenu

@@ -4189,9 +4252,9 @@ ShellRoot {
-
-

generated/.config/scripts/batterywarn.sh

-
+
+

generated/.config/scripts/batterywarn.sh

+

Providing an media

@@ -4208,9 +4271,9 @@ fi
-
-

generated/.config/scripts/media.sh

-
+
+

generated/.config/scripts/media.sh

+

Providing an media

@@ -4310,9 +4373,9 @@ jq -c -n \
-
-

generated/.config/scripts/layout-selector.sh

-
+
+

generated/.config/scripts/layout-selector.sh

+

Choose your layout

@@ -4354,9 +4417,9 @@ hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

Enables a terminal power menu

@@ -4411,9 +4474,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -4438,9 +4501,9 @@ flatpak update -y
-
-

generated/.config/scripts/wofi-launcher.sh

-
+
+

generated/.config/scripts/wofi-launcher.sh

+

Providing an media

@@ -4455,9 +4518,9 @@ Providing an media
-
-

generated/.config/shared/Colors.css

-
+
+

generated/.config/shared/Colors.css

+

A file containing color variables

@@ -4497,9 +4560,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -4787,9 +4850,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -4826,9 +4889,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -4858,9 +4921,9 @@ These are config files for .config/stylix
-
-

generated/.config/stylix/palette.html

-
+
+

generated/.config/stylix/palette.html

+

These are config files for .config/stylix

@@ -4938,9 +5001,9 @@ These are config files for .config/stylix
-
-

generated/.config/waybar/config

-
+
+

generated/.config/waybar/config

+

These are config files for waybar

@@ -5169,9 +5232,9 @@ These are config files for waybar
-
-

generated/.config/waybar/style-dark.css

-
+
+

generated/.config/waybar/style-dark.css

+

This file contains all css for waybar

@@ -5404,9 +5467,9 @@ label#custom-windows:not(.active) {
-
-

generated/.config/scripts/bluetooth-status.sh

-
+
+

generated/.config/scripts/bluetooth-status.sh

+

These are config files for waybar

@@ -5431,9 +5494,9 @@ printf '{"text": "%s", "tooltip": "%s"}\n' "$icon" "$tooltip"
-
-

generated/.config/scripts/hypr-workspaces.sh

-
+
+

generated/.config/scripts/hypr-workspaces.sh

+

These are config files for waybar

@@ -5475,9 +5538,9 @@ jq -c -n \
-
-

generated/.config/scripts/hypr-workspacesmenu.sh

-
+
+

generated/.config/scripts/hypr-workspacesmenu.sh

+

These are config files for waybar

@@ -5499,9 +5562,9 @@ hyprctl dispatch focuswindow address:"$addr"
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -5538,9 +5601,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -5576,9 +5639,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -5605,9 +5668,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

@@ -5703,9 +5766,9 @@ This is the default layout for wofi
-
-

generated/.config/zed/settings.json

-
+
+

generated/.config/zed/settings.json

+

These are config files for Zed editor

@@ -5741,9 +5804,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -5780,7 +5843,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-20 ma 18:37

+

Created: 2026-04-20 ma 19:05

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index ca4d2d8af..dc5ac9b17 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -92,11 +92,11 @@ git gparted grim grimblast +galculator handbrake hyperfine just jq -kdePackages.kdeconnect-kde libreoffice lua nextcloud-client @@ -716,7 +716,6 @@ in This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/flameshot.nix :noweb yes :mkdirp yes :eval never { pkgs, config, lib, ... }: - let username = config.defaultUser or "henrov"; in @@ -732,8 +731,6 @@ in # Home Manager user-level configuration ############################ home-manager.users."${username}" = { - home.stateVersion = "26.05"; - home.sessionVariables = { SCREENSHOT_TOOL = "flameshot"; USERNAME = username; @@ -743,10 +740,63 @@ in home.file."Pictures/Screenshots/.keep" = { text = ""; # empty file }; + + home.file.".config/flameshot/flameshot.ini".text = '' + [General] + ; Border color: A solid blend of @blue and @green (approximates the gradient) + buttonColor=#95c2e0 + ; Sidebar and inactive elements: Use @surface2 for subtlety + sidebarColor=#585b70 + ; Active buttons: Use @peach for contrast + buttonActiveColor=#fab387 + ; Text/icons: Use @text for readability + contrastingUIColor=#cdd6f4 + showDesktopNotification=true + savePath=${config.xdg.picturesDir}/Screenshots + filenamePattern=$Y-$m-$d_$H-$M-$S + copyPathAfterCapture=true + ''; }; } #+END_SRC +** =generated/modules/traveldroid/apps/kdeconnect.nix= +This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder +#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kdeconnect.nix :noweb yes :mkdirp yes :eval never +{ config, pkgs, ... }: +let + username = "henrov"; +in +{ + environment.systemPackages = with pkgs; [ + kdePackages.kdeconnect-kde + ]; + + systemd.user.services.kdeconnect = { + enable = true; + description = "KDE Connect daemon"; + wantedBy = ["default.target"]; + serviceConfig = { + ExecStart = "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnectd"; + Restart = "on-failure"; + }; + }; + + systemd.users.userLinger = [${username}]; + + # Hyprland config (if managed via Nix) + programs.hyprland = { + enable = true; + config = { + autostart = [ + "systemctl --user start kdeconnect.service" + ]; + }; + }; +} + +#+END_SRC + ** =generated/modules/traveldroid/apps/kitty.nix= This file sets up Kitty terminal #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kitty.nix :noweb yes :mkdirp yes :eval never @@ -2528,8 +2578,6 @@ the top of the file." ** =generated/.config/hypr/animations.conf= These are config files for .config/hypr #+BEGIN_SRC conf :tangle generated/.config/hypr/animations.conf :noweb yes :mkdirp yes :eval never -# ./assets/conf/desktop/hypr/animations.conf - animations { enabled = yes bezier = myBezier, 0.05, 0.9, 0.1, 1.05 @@ -2576,11 +2624,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen + +# Flameshot keybindings +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev @@ -2727,7 +2782,7 @@ bind = $mainMod, U, exec, kitty -e bash -lc "$HOME/.config/scripts/update.sh" These are config files for .config/hypr #+BEGIN_SRC conf :tangle generated/.config/hypr/exec-once.conf :noweb yes :mkdirp yes :eval never exec-once = dbus-update-activation-environment --systemd --all -exec-once = hypridleconfig/hypr/exec-once +exec-once = hypridle exec-once = systemd-run --user --scope --unit=elephant elephant exec-once = waybar exec-once = awww-daemon @@ -2737,6 +2792,7 @@ exec-once = ~/.config/scripts/workspace-listener.sh exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 exec-once = nextcloud --background exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once flameshot #+END_SRC ** =generated/.config/hypr/hypridle.conf= diff --git a/Droidnix/generated/.config/hypr/animations.conf b/Droidnix/generated/.config/hypr/animations.conf index 8b3564d92..4177605dc 100644 --- a/Droidnix/generated/.config/hypr/animations.conf +++ b/Droidnix/generated/.config/hypr/animations.conf @@ -1,6 +1,4 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -# ./assets/conf/desktop/hypr/animations.conf - animations { enabled = yes bezier = myBezier, 0.05, 0.9, 0.1, 1.05 diff --git a/Droidnix/generated/.config/hypr/bindings.conf b/Droidnix/generated/.config/hypr/bindings.conf index 901ae64a0..bb7dd19d2 100644 --- a/Droidnix/generated/.config/hypr/bindings.conf +++ b/Droidnix/generated/.config/hypr/bindings.conf @@ -12,11 +12,18 @@ bind = $mainMod, X , exec, qs -c powermenu bind = $mainMod, L, exec, hyprlock # grimblast -bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active -bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area -bind = , XF86Screenshot, exec, grimblast -n -f copysave area -bind = $mainMod ALT, P, exec, grimblast -n -f copysave output -bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen +# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active +# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area +# bind = , XF86Screenshot, exec, grimblast -n -f copysave area +# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output +# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen + +# Flameshot keybindings +bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c +bind = $mainMod SHIFT, S, exec, flameshot gui +bind = , XF86Screenshot, exec, flameshot gui +bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c +bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c # Switch windows bind = ALT, TAB, cyclenext, prev diff --git a/Droidnix/generated/.config/hypr/exec-once.conf b/Droidnix/generated/.config/hypr/exec-once.conf index 960218230..69fb7e370 100644 --- a/Droidnix/generated/.config/hypr/exec-once.conf +++ b/Droidnix/generated/.config/hypr/exec-once.conf @@ -1,6 +1,6 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- exec-once = dbus-update-activation-environment --systemd --all -exec-once = hypridleconfig/hypr/exec-once +exec-once = hypridle exec-once = systemd-run --user --scope --unit=elephant elephant exec-once = waybar exec-once = awww-daemon @@ -10,3 +10,4 @@ exec-once = ~/.config/scripts/workspace-listener.sh exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 exec-once = nextcloud --background exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once flameshot diff --git a/Droidnix/generated/assets/2_b_installed.conf b/Droidnix/generated/assets/2_b_installed.conf index cca0d2377..cfa94775f 100644 --- a/Droidnix/generated/assets/2_b_installed.conf +++ b/Droidnix/generated/assets/2_b_installed.conf @@ -23,11 +23,11 @@ git gparted grim grimblast +galculator handbrake hyperfine just jq -kdePackages.kdeconnect-kde libreoffice lua nextcloud-client diff --git a/Droidnix/generated/modules/traveldroid/apps/flameshot.nix b/Droidnix/generated/modules/traveldroid/apps/flameshot.nix index d7e49ccb2..ede575901 100644 --- a/Droidnix/generated/modules/traveldroid/apps/flameshot.nix +++ b/Droidnix/generated/modules/traveldroid/apps/flameshot.nix @@ -1,6 +1,5 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- { pkgs, config, lib, ... }: - let username = config.defaultUser or "henrov"; in @@ -16,8 +15,6 @@ in # Home Manager user-level configuration ############################ home-manager.users."${username}" = { - home.stateVersion = "26.05"; - home.sessionVariables = { SCREENSHOT_TOOL = "flameshot"; USERNAME = username; @@ -27,5 +24,21 @@ in home.file."Pictures/Screenshots/.keep" = { text = ""; # empty file }; + + home.file.".config/flameshot/flameshot.ini".text = '' + [General] + ; Border color: A solid blend of @blue and @green (approximates the gradient) + buttonColor=#95c2e0 + ; Sidebar and inactive elements: Use @surface2 for subtlety + sidebarColor=#585b70 + ; Active buttons: Use @peach for contrast + buttonActiveColor=#fab387 + ; Text/icons: Use @text for readability + contrastingUIColor=#cdd6f4 + showDesktopNotification=true + savePath=${config.xdg.picturesDir}/Screenshots + filenamePattern=$Y-$m-$d_$H-$M-$S + copyPathAfterCapture=true + ''; }; } diff --git a/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix b/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix new file mode 100644 index 000000000..6acb75e7a --- /dev/null +++ b/Droidnix/generated/modules/traveldroid/apps/kdeconnect.nix @@ -0,0 +1,32 @@ +# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +{ config, pkgs, ... }: +let + username = "henrov"; +in +{ + environment.systemPackages = with pkgs; [ + kdePackages.kdeconnect-kde + ]; + + systemd.user.services.kdeconnect = { + enable = true; + description = "KDE Connect daemon"; + wantedBy = ["default.target"]; + serviceConfig = { + ExecStart = "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnectd"; + Restart = "on-failure"; + }; + }; + + systemd.users.userLinger = [${username}]; + + # Hyprland config (if managed via Nix) + programs.hyprland = { + enable = true; + config = { + autostart = [ + "systemctl --user start kdeconnect.service" + ]; + }; + }; +}