diff --git a/Droidnix/README.html b/Droidnix/README.html index 45d0f8844..bfc156fba 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,144 +204,145 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -357,25 +358,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: @@ -388,9 +389,9 @@ The Droidnix repository is organized into two main parts:

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -401,16 +402,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. @@ -431,9 +432,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

@@ -512,9 +513,9 @@ com.logseq.Logseq
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

@@ -556,9 +557,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.

@@ -649,9 +650,9 @@ The Nix flake definition for Droidnix.
-
-

generated/modules/traveldroid/system/colors.nix

-
+
+

generated/modules/traveldroid/system/colors.nix

+

Setting the colors for Droidnix.

@@ -728,9 +729,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
{ config, pkgs, lib, flakeRoot, ... }:
 {
@@ -798,9 +799,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. @@ -858,9 +859,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -920,13 +921,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

@@ -1034,9 +1035,9 @@ in {
-
-

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

-
+
+

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

+

This installs emacs

@@ -1131,9 +1132,9 @@ in
-
-

generated/modules/traveldroid/apps/kdeconnect.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

@@ -1161,9 +1162,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1215,9 +1216,81 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/stackstorage.nix

+
+

+Installs the TransIP Stackstorage Appimage +

+
+
{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+  cfg = config.programs.transip-stack;
+
+  # AppImage wrapped so it works on NixOS (which has no /lib64 dynamic linker)
+  transip-stack = pkgs.appimageTools.wrapType2 {
+    name    = "transip-stack";
+    version = "latest";
+
+    src = pkgs.fetchurl {
+      url    = "https://filehosting-client.transip.nl/packages/stack-linux-latest-x86_64.AppImage";
+      sha256 = "1cmwc3mfpi7n3ga25p19pmsjmvkiy8hk4s4mxdsxkprw2vvrhwd7";
+    };
+
+    # Geef de AppImage toegang tot de desktop-omgeving
+    extraPkgs = pkgsFinal: with pkgsFinal; [
+      fuse
+    ];
+  };
+
+in {
+  options.programs.transip-stack = {
+    enable = mkEnableOption "TransIP STACK desktop client";
+
+    sha256 = mkOption {
+      type        = types.str;
+      description = ''
+        SHA-256 hash
+      '';
+      example = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
+    };
+
+    autostart = mkOption {
+      type    = types.bool;
+      default = false;
+      description = "Start STACK automatisch bij inloggen (via XDG autostart).";
+    };
+  };
+
+  config = mkIf cfg.enable {
+
+    # Zet het pakket beschikbaar voor alle gebruikers
+    environment.systemPackages = [ transip-stack ];
+
+    # Optioneel: XDG autostart entry
+    environment.etc = mkIf cfg.autostart {
+      "xdg/autostart/transip-stack.desktop".text = ''
+        [Desktop Entry]
+        Type=Application
+        Name=TransIP STACK
+        Exec=transip-stack
+        Hidden=false
+        NoDisplay=false
+        X-GNOME-Autostart-enabled=true
+      '';
+    };
+  };
+}
+
+
+
+
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

@@ -1256,9 +1329,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

@@ -1304,9 +1377,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1341,9 +1414,9 @@ in
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1363,9 +1436,9 @@ in
-
-

generated/modules/traveldroid/apps/zeditor.nix

-
+
+

generated/modules/traveldroid/apps/zeditor.nix

+

This sets Zed Editor

@@ -1420,9 +1493,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1536,13 +1609,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

@@ -1560,9 +1633,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1588,9 +1661,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1635,9 +1708,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -1724,9 +1797,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1818,9 +1891,9 @@ in
-
-

generated/.config/awww/scripts/randomizeWallpapers.sh

-
+
+

generated/.config/awww/scripts/randomizeWallpapers.sh

+

Numbers all pictures in ~/Wallpapers/pictures in random order

@@ -1882,9 +1955,9 @@ randomize_and_rename_wallpapers
-
-

generated/.config/awww/scripts/ws-daemon.sh

-
+
+

generated/.config/awww/scripts/ws-daemon.sh

+

Little daemon that sets a workspace when user switches to a different workspace

@@ -1905,9 +1978,9 @@ done
-
-

generated/.config/awww/scripts/ws-wallpaper.sh

-
+
+

generated/.config/awww/scripts/ws-wallpaper.sh

+

The script that actually sets wallpaper per workspace

@@ -1950,9 +2023,9 @@ esac
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1998,9 +2071,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -2030,9 +2103,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -2103,13 +2176,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, ... }:
 
@@ -2128,9 +2201,9 @@ in
 
-
-

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -2150,9 +2223,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

@@ -2179,9 +2252,9 @@ in
-
-

generated/modules/traveldroid/system/copy_scripts.nix

-
+
+

generated/modules/traveldroid/system/copy_scripts.nix

+

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

@@ -2222,9 +2295,9 @@ in
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -2251,9 +2324,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2334,9 +2407,9 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

@@ -2392,9 +2465,9 @@ in
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

@@ -2451,9 +2524,9 @@ in
-
-

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

-
+
+

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

+

This sets the dbus implementation

@@ -2501,9 +2574,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 imho fits the aesthetic I am aiming for

@@ -2551,9 +2624,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2602,9 +2675,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/numlock-check.nix

-
+
+

generated/modules/traveldroid/system/numlock-check.nix

+
{ lib, config, pkgs, flakeRoot, ... }:
 let
@@ -2647,9 +2720,9 @@ in
 
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

+
{ lib, config, ... }:
 {
@@ -2672,9 +2745,9 @@ in
 
-
-

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2698,9 +2771,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the quickshell implementation

@@ -2746,9 +2819,9 @@ in
-
-

generated/modules/traveldroid/system/swaync.nix

-
+
+

generated/modules/traveldroid/system/swaync.nix

+

This sets the dbus implementation

@@ -2797,13 +2870,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

@@ -2865,9 +2938,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

@@ -2968,9 +3041,9 @@ package-archive-priorities '(("gnu" . 99)
-
-

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -3380,9 +3453,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These settings decide animations

@@ -3425,9 +3498,9 @@ These settings decide animations
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -3448,9 +3521,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -3616,9 +3689,9 @@ bind = $mainMod, U, exec, qs -c updater
-
-

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

-
+
+

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

+

What is executed after startup, when hyprland is running?

@@ -3638,9 +3711,9 @@ exec-once = waybar
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for hypridle

@@ -3671,9 +3744,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3703,9 +3776,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -3724,9 +3797,9 @@ source = ./workspace-rules.conf
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3739,9 +3812,9 @@ layerrule = xray 1, match:namespace swaync-control-center
-
-

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3756,9 +3829,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3769,9 +3842,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

@@ -3837,9 +3910,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3940,9 +4013,9 @@ windowrule {
-
-

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

-
+
+

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

+

These setttings configure rules for workspaces

@@ -3957,9 +4030,9 @@ workspace = 6, monitor:DP-1 #, layout:dwindle
-
-

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

-
+
+

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

+

offers a audio widget

@@ -4353,9 +4426,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -4503,9 +4576,9 @@ ShellRoot {
-
-

generated/.config/quickshell/updater/shell.qml

-
+
+

generated/.config/quickshell/updater/shell.qml

+

Updates the system

@@ -4754,9 +4827,9 @@ ShellRoot {
-
-

generated/.config/quickshell/layoutswitcher/shell.qml

-
+
+

generated/.config/quickshell/layoutswitcher/shell.qml

+

Provides a layout menu

@@ -4903,9 +4976,9 @@ ShellRoot {
-
-

generated/.config/waybar/scripts/batterywarn.sh

-
+
+

generated/.config/waybar/scripts/batterywarn.sh

+

Providing an media

@@ -4922,9 +4995,9 @@ fi
-
-

generated/.config/waybar/scripts/media.sh

-
+
+

generated/.config/waybar/scripts/media.sh

+

Providing an media

@@ -5023,9 +5096,9 @@ jq -c -n \
-
-

generated/.config/shared/scripts/numlock-check.sh

-
+
+

generated/.config/shared/scripts/numlock-check.sh

+

Count keyboards and enable numlock if more then 1, else disable

@@ -5046,9 +5119,9 @@ fi
-
-

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

-
+
+

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

+

Providing an media

@@ -5063,9 +5136,9 @@ Providing an media
-
-

generated/.config/shared/css/colors.css

-
+
+

generated/.config/shared/css/colors.css

+

A file containing color variables

@@ -5106,9 +5179,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -5396,9 +5469,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -5434,9 +5507,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -5466,9 +5539,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

@@ -5545,9 +5618,9 @@ These are config files for .config/stylix
-
-

generated/.config/swaync/config.json

-
+
+

generated/.config/swaync/config.json

+

These are config files for waybar

@@ -5608,9 +5681,9 @@ These are config files for waybar
-
-

generated/.config/swaync/style.css

-
+
+

generated/.config/swaync/style.css

+

These are config files for waybar

@@ -5803,9 +5876,9 @@ These are config files for waybar
-
-

generated/.config/waybar/config.jsonc

-
+
+

generated/.config/waybar/config.jsonc

+

These are config files for waybar

@@ -6153,9 +6226,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

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

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

-
+
+

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

+

These are config files for waybar

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

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

-
+
+

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

+

These are config files for waybar

@@ -6486,9 +6559,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

@@ -6510,9 +6583,9 @@ hyprctl dispatch focuswindow address:"$addr"
-
-

generated/.config/waybar/scripts/kdeconnect-status.sh

-
+
+

generated/.config/waybar/scripts/kdeconnect-status.sh

+

These are config files for waybar

@@ -6536,9 +6609,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

@@ -6575,9 +6648,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -6613,9 +6686,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -6642,9 +6715,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

@@ -6740,9 +6813,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

@@ -6780,9 +6853,9 @@ These are config files for Zed editor
-
-

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -6819,7 +6892,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-29 wo 23:05

+

Created: 2026-04-30 do 12:58

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 3bd57913f..62106d4f7 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -783,6 +783,72 @@ in } #+END_SRC +** =generated/modules/traveldroid/apps/stackstorage.nix= +Installs the TransIP Stackstorage Appimage +#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/stackstorage.nix :noweb yes :mkdirp yes :eval never +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.programs.transip-stack; + + # AppImage wrapped so it works on NixOS (which has no /lib64 dynamic linker) + transip-stack = pkgs.appimageTools.wrapType2 { + name = "transip-stack"; + version = "latest"; + + src = pkgs.fetchurl { + url = "https://filehosting-client.transip.nl/packages/stack-linux-latest-x86_64.AppImage"; + sha256 = "1cmwc3mfpi7n3ga25p19pmsjmvkiy8hk4s4mxdsxkprw2vvrhwd7"; + }; + + # Geef de AppImage toegang tot de desktop-omgeving + extraPkgs = pkgsFinal: with pkgsFinal; [ + fuse + ]; + }; + +in { + options.programs.transip-stack = { + enable = mkEnableOption "TransIP STACK desktop client"; + + sha256 = mkOption { + type = types.str; + description = '' + SHA-256 hash + ''; + example = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; + }; + + autostart = mkOption { + type = types.bool; + default = false; + description = "Start STACK automatisch bij inloggen (via XDG autostart)."; + }; + }; + + config = mkIf cfg.enable { + + # Zet het pakket beschikbaar voor alle gebruikers + environment.systemPackages = [ transip-stack ]; + + # Optioneel: XDG autostart entry + environment.etc = mkIf cfg.autostart { + "xdg/autostart/transip-stack.desktop".text = '' + [Desktop Entry] + Type=Application + Name=TransIP STACK + Exec=transip-stack + Hidden=false + NoDisplay=false + X-GNOME-Autostart-enabled=true + ''; + }; + }; +} +#+END_SRC + ** =generated/modules/traveldroid/apps/starship.nix= This file sets up starship prompt #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb yes :mkdirp yes :eval never diff --git a/Droidnix/generated/modules/traveldroid/apps/stackstorage.nix b/Droidnix/generated/modules/traveldroid/apps/stackstorage.nix new file mode 100644 index 000000000..ce219d941 --- /dev/null +++ b/Droidnix/generated/modules/traveldroid/apps/stackstorage.nix @@ -0,0 +1,62 @@ +# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.programs.transip-stack; + + # AppImage wrapped so it works on NixOS (which has no /lib64 dynamic linker) + transip-stack = pkgs.appimageTools.wrapType2 { + name = "transip-stack"; + version = "latest"; + + src = pkgs.fetchurl { + url = "https://filehosting-client.transip.nl/packages/stack-linux-latest-x86_64.AppImage"; + sha256 = "1cmwc3mfpi7n3ga25p19pmsjmvkiy8hk4s4mxdsxkprw2vvrhwd7"; + }; + + # Geef de AppImage toegang tot de desktop-omgeving + extraPkgs = pkgsFinal: with pkgsFinal; [ + fuse + ]; + }; + +in { + options.programs.transip-stack = { + enable = mkEnableOption "TransIP STACK desktop client"; + + sha256 = mkOption { + type = types.str; + description = '' + SHA-256 hash + ''; + example = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; + }; + + autostart = mkOption { + type = types.bool; + default = false; + description = "Start STACK automatisch bij inloggen (via XDG autostart)."; + }; + }; + + config = mkIf cfg.enable { + + # Zet het pakket beschikbaar voor alle gebruikers + environment.systemPackages = [ transip-stack ]; + + # Optioneel: XDG autostart entry + environment.etc = mkIf cfg.autostart { + "xdg/autostart/transip-stack.desktop".text = '' + [Desktop Entry] + Type=Application + Name=TransIP STACK + Exec=transip-stack + Hidden=false + NoDisplay=false + X-GNOME-Autostart-enabled=true + ''; + }; + }; +}