diff --git a/Droidnix/README.html b/Droidnix/README.html index 2e9604cd4..ef282efec 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,141 +204,141 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

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

-
-

Root Level

-
+
+

Root Level

+
  • = is the entry point and imports:
      @@ -398,16 +398,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. @@ -428,9 +428,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

@@ -508,9 +508,9 @@ com.logseq.Logseq
-
-

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

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

@@ -595,8 +595,8 @@ The Nix flake definition for Droidnix. system = "x86_64-linux"; flakeRoot = self; buildUser = "henrov"; - repoPath = "/home/${buildUser}/Repos/nixos/Droidnix"; - mutableConfigPath = "${repoPath}/generated/.config"; + flakeRoot = "/home/${buildUser}/Repos/nixos/Droidnix"; + mutableConfigPath = "${flakeRoot}/generated/.config"; in { nixosConfigurations = { traveldroid = nixpkgs.lib.nixosSystem { @@ -618,7 +618,7 @@ The Nix flake definition for Droidnix. hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; @@ -634,7 +634,7 @@ The Nix flake definition for Droidnix. hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; @@ -646,14 +646,14 @@ The Nix flake definition for Droidnix.
-
-

generated/modules/traveldroid/system/colors.nix

-
+
+

generated/modules/traveldroid/system/colors.nix

+

Setting the colors for Droidnix.

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 let
   colors = {
     border    = "#97C9E6";
@@ -703,7 +703,7 @@ in
   home-manager.users.${username} = {
     home.file = {
       ".config/shared/colors.css" = {
-        source = "${repoPath}/generated/.config/shared/colors.css";
+        source = "${flakeRoot}/generated/.config/shared/colors.css";
         force = true;
       };
       ".config/quickshell/Colors.qml" = {
@@ -725,12 +725,12 @@ 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, repoPath, ... }:
+{ config, pkgs, lib, flakeRoot, ... }:
 {
   boot.loader = {
     systemd-boot.enable = true;
@@ -796,9 +796,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. @@ -856,15 +856,15 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
-
{ lib, config, pkgs, repoPath, import-tree, home-manager, ... }:
+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
 let
   hostname = "traveldroid";
-  modulesPath = "${repoPath}/generated/modules/${hostname}";
+  modulesPath = "${flakeRoot}/generated/modules/${hostname}";
   hostModules = import-tree modulesPath;
   allModules = hostModules.imports;
 in
@@ -918,24 +918,24 @@ 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

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   #################################
   # FILE
   #################################
-  confPath = "${repoPath}/generated/assets/2_b_installed.conf";
+  confPath = "${flakeRoot}/generated/assets/2_b_installed.conf";
   raw = builtins.readFile confPath;
   lines = lib.splitString "\n" raw;
 
@@ -1032,19 +1032,19 @@ in {
 
-
-

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

-
+
+

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

+

This installs emacs

-
{ config, pkgs, lib, repoPath, ... }:
+
{ config, pkgs, lib, flakeRoot, ... }:
 
 let
   username = config.defaultUser or "henrov";
 
-  assetPath = "${repoPath}/generated/.config/emacs";
+  assetPath = "${flakeRoot}/generated/.config/emacs";
 
   # Emacs package with Tree-sitter support
   emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; };
@@ -1130,9 +1130,9 @@ in
 
-
-

generated/disabled/modules/traveldroid/apps/flameshot.nix

-
+
+

generated/disabled/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

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

@@ -1223,18 +1223,18 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

-
{ lib, pkgs, config, repoPath, ... }:
+
{ lib, pkgs, config, flakeRoot, ... }:
 
 let
   username = config.defaultUser or "henrov";
-  extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf";
+  extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf";
   extraConfig =
     if builtins.pathExists extraConfigFile
     then builtins.readFile extraConfigFile
@@ -1277,21 +1277,21 @@ in
 
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   # Default username fallback
   username = config.defaultUser or "henrov";
 
   # Path to the starship config in assets
-  starshipConfSrc = "${repoPath}/generated/.config/starship.toml";
+  starshipConfSrc = "${flakeRoot}/generated/.config/starship.toml";
 in
 {
   #################################
@@ -1318,9 +1318,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

@@ -1366,18 +1366,18 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   username = config.defaultUser or "henrov";
-  assetPath = "${repoPath}/generated/.config/wofi";
+  assetPath = "${flakeRoot}/generated/.config/wofi";
 in
 {
   environment.systemPackages = [ pkgs.wofi ];
@@ -1401,9 +1401,9 @@ in
 
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1423,26 +1423,26 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   #################################
   # User config
   #################################
   username = config.defaultUser or "henrov";
-  generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc";
+  generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
 
   #################################
   # Alias parsing
   #################################
-  aliasFile = "${repoPath}/generated/assets/aliases.conf";
+  aliasFile = "${flakeRoot}/generated/assets/aliases.conf";
   content = builtins.readFile aliasFile;
 
   lines =
@@ -1539,13 +1539,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

@@ -1563,9 +1563,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -1591,17 +1591,17 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

-
{ lib, config, pkgs, repoPath, home-manager, inputs, ... }:
+
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
 let
   username = config.defaultUser or "henrov";
-  assetPath = "${repoPath}/generated/.config/hypr";
+  assetPath = "${flakeRoot}/generated/.config/hypr";
   hyprlandPkg =
     pkgs.hyprland or
     pkgs.hyprland-git or
@@ -1635,17 +1635,17 @@ in
 
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
-
{ lib, config, pkgs, repoPath, stylix, ... }:
+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
 let
   username   = config.defaultUser or "henrov";
   moduleName = "stylix";
 
-  assetPath  = "${repoPath}/generated/.config/${moduleName}";
+  assetPath  = "${flakeRoot}/generated/.config/${moduleName}";
 
   stylixConfFile = "${assetPath}/stylix.conf";
   stylixConf =
@@ -1678,7 +1678,7 @@ in
   stylix = {
     enable = true;
 
-    base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
+    base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
     polarity = "dark";
 
     targets = {
@@ -1724,19 +1724,19 @@ in
 
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   username     = config.defaultUser or "henrov";
   homeDir      = "/home/${username}";
-  wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers";
+  wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
   wallpaperDst = "${homeDir}/Wallpapers";
   randoScript  = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh";
 in
@@ -1825,9 +1825,9 @@ in
 
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -1875,9 +1875,9 @@ in
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -1907,14 +1907,14 @@ in
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 let
   username = config.defaultUser or "henrov";
   homeDir = "/home/${username}";
@@ -1980,13 +1980,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, ... }:
 
@@ -2005,9 +2005,9 @@ in
 
-
-

generated/modules/traveldroid/system/avahi.nix

-
+
+

generated/modules/traveldroid/system/avahi.nix

+

Avahi helps discovering services

@@ -2027,9 +2027,9 @@ Avahi helps discovering services
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

@@ -2056,22 +2056,22 @@ 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.

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 let
   username = config.defaultUser or "henrov";
-  configPath = repoPath + "/generated/.config/scripts";
+  configPath = flakeRoot + "/generated/.config/scripts";
   allFiles = lib.filesystem.listFilesRecursive configPath;
 
   toRelative = file:
     let
-      base = toString repoPath + "/generated/";
+      base = toString flakeRoot + "/generated/";
       relative = lib.removePrefix base (toString file);
     in
       builtins.unsafeDiscardStringContext relative;
@@ -2099,9 +2099,9 @@ in
 
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -2128,9 +2128,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/firewall.nix

-
+
+

generated/modules/traveldroid/system/firewall.nix

+

This sets the firewall.

@@ -2211,19 +2211,19 @@ This sets the firewall.
-
-

generated/modules/traveldroid/system/hypridle.nix

-
+
+

generated/modules/traveldroid/system/hypridle.nix

+

This installs hypridle

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   username = config.defaultUser or "henrov";
-  basePath = "${repoPath}/generated/.config";
-  assetPath = "${repoPath}/generated/.config/hypr";
+  basePath = "${flakeRoot}/generated/.config";
+  assetPath = "${flakeRoot}/generated/.config/hypr";
 in
 {
   #################################
@@ -2269,19 +2269,19 @@ in
 
-
-

generated/modules/traveldroid/system/hyprlock.nix

-
+
+

generated/modules/traveldroid/system/hyprlock.nix

+

This installs hyprlock

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 
 let
   username = config.defaultUser or "henrov";
-  basePath = "${repoPath}/generated/.config";
-  assetPath = "${repoPath}/generated/.config/hypr";
+  basePath = "${flakeRoot}/generated/.config";
+  assetPath = "${flakeRoot}/generated/.config/hypr";
 in
 {
   #################################
@@ -2328,9 +2328,9 @@ in
 
-
-

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

-
+
+

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

+

This sets the dbus implementation

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

@@ -2427,9 +2427,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -2478,9 +2478,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

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

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -2529,22 +2529,22 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/quickshell.nix

-
+
+

generated/modules/traveldroid/system/quickshell.nix

+

This sets the dbus implementation

-
{ pkgs, lib, config, repoPath, ... }:
+
{ pkgs, lib, config, flakeRoot, ... }:
 let
   username = config.defaultUser or "henrov";
-  quickshellPath = repoPath + "/generated/.config/quickshell";
+  quickshellPath = flakeRoot + "/generated/.config/quickshell";
   allFiles = lib.filesystem.listFilesRecursive quickshellPath;
 
   toRelative = file:
     let
-      base = toString repoPath + "/generated/";
+      base = toString flakeRoot + "/generated/";
       relative = lib.removePrefix base (toString file);
     in
       builtins.unsafeDiscardStringContext relative;
@@ -2583,17 +2583,17 @@ in
 
-
-

generated/modules/traveldroid/system/swaync.nix

-
+
+

generated/modules/traveldroid/system/swaync.nix

+

This sets the dbus implementation

-
{ lib, config, pkgs, repoPath, ... }:
+
{ lib, config, pkgs, flakeRoot, ... }:
 let
   username = config.defaultUser or "henrov";
-  assetPath = "${repoPath}/generated/.config/swaync";
+  assetPath = "${flakeRoot}/generated/.config/swaync";
 in
 {
   environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ];
@@ -2634,13 +2634,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

@@ -2702,9 +2702,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -3217,9 +3217,9 @@ the top of the file."
-
-

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -3238,9 +3238,9 @@ These are config files for .config/hypr
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -3262,9 +3262,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

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

@@ -3463,9 +3463,9 @@ exec-once = waybar
-
-

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -3496,9 +3496,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -3528,9 +3528,9 @@ input-field {
-
-

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

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

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

-
+
+

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

+

These are config files for .config/hypr

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

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3581,9 +3581,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3662,9 +3662,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -3747,9 +3747,9 @@ windowrule {
-
-

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

-
+
+

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

+

These setttings configure rules for workspaces

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

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

-
+
+

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

+

offers a adio widget

@@ -4160,9 +4160,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -4310,9 +4310,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a layout menu

@@ -4459,9 +4459,9 @@ ShellRoot {
-
-

generated/.config/scripts/batterywarn.sh

-
+
+

generated/.config/scripts/batterywarn.sh

+

Providing an media

@@ -4478,9 +4478,9 @@ fi
-
-

generated/.config/scripts/media.sh

-
+
+

generated/.config/scripts/media.sh

+

Providing an media

@@ -4579,9 +4579,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

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

@@ -4603,9 +4603,9 @@ fi
-
-

generated/.config/scripts/power.sh

-
+
+

generated/.config/scripts/power.sh

+

Enables a terminal power menu

@@ -4660,9 +4660,9 @@ main
-
-

generated/.config/scripts/update.sh

-
+
+

generated/.config/scripts/update.sh

+

A file containing color variables

@@ -4687,9 +4687,9 @@ flatpak update -y
-
-

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

-
+
+

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

+

Providing an media

@@ -4704,9 +4704,9 @@ Providing an media
-
-

generated/.config/shared/colors.css

-
+
+

generated/.config/shared/colors.css

+

A file containing color variables

@@ -4747,9 +4747,9 @@ A file containing color variables
-
-

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

@@ -5037,9 +5037,9 @@ crust = "#181926"
-
-

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -5076,9 +5076,9 @@ icons = {
-
-

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

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

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

generated/.config/swaync/config.json

-
+
+

generated/.config/swaync/config.json

+

These are config files for waybar

@@ -5250,9 +5250,9 @@ These are config files for waybar
-
-

generated/.config/swaync/style.css

-
+
+

generated/.config/swaync/style.css

+

These are config files for waybar

@@ -5445,9 +5445,9 @@ These are config files for waybar
-
-

generated/.config/waybar/config.jsonc

-
+
+

generated/.config/waybar/config.jsonc

+

These are config files for waybar

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

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

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

-
+
+

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

+

These are config files for waybar

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

@@ -6117,9 +6117,9 @@ jq -c -n \
-
-

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

-
+
+

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

+

These are config files for waybar

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

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

-
+
+

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

+

These are config files for waybar

@@ -6167,9 +6167,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

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

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

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

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

@@ -6273,9 +6273,9 @@ prompt = > ...
-
-

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

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

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

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -6448,7 +6448,7 @@ cd() {

Author: Henro Veijer

-

Created: 2026-04-29 wo 08:42

+

Created: 2026-04-29 wo 08:44

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index cc279645a..f12654f85 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -215,8 +215,8 @@ The Nix flake definition for Droidnix. system = "x86_64-linux"; flakeRoot = self; buildUser = "henrov"; - repoPath = "/home/${buildUser}/Repos/nixos/Droidnix"; - mutableConfigPath = "${repoPath}/generated/.config"; + flakeRoot = "/home/${buildUser}/Repos/nixos/Droidnix"; + mutableConfigPath = "${flakeRoot}/generated/.config"; in { nixosConfigurations = { traveldroid = nixpkgs.lib.nixosSystem { @@ -238,7 +238,7 @@ The Nix flake definition for Droidnix. hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; @@ -254,7 +254,7 @@ The Nix flake definition for Droidnix. hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; @@ -267,7 +267,7 @@ The Nix flake definition for Droidnix. ** =generated/modules/traveldroid/system/colors.nix= Setting the colors for Droidnix. #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/colors.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let colors = { border = "#97C9E6"; @@ -317,7 +317,7 @@ in home-manager.users.${username} = { home.file = { ".config/shared/colors.css" = { - source = "${repoPath}/generated/.config/shared/colors.css"; + source = "${flakeRoot}/generated/.config/shared/colors.css"; force = true; }; ".config/quickshell/Colors.qml" = { @@ -340,7 +340,7 @@ in ** =generated/hosts/traveldroid/boot.nix= #+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ config, pkgs, lib, repoPath, ... }: +{ config, pkgs, lib, flakeRoot, ... }: { boot.loader = { systemd-boot.enable = true; @@ -460,11 +460,11 @@ in ** =generated/hosts/traveldroid/host.nix= #+BEGIN_SRC nix :tangle generated/hosts/traveldroid/host.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, import-tree, home-manager, ... }: +{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }: let hostname = "traveldroid"; - modulesPath = "${repoPath}/generated/modules/${hostname}"; + modulesPath = "${flakeRoot}/generated/modules/${hostname}"; hostModules = import-tree modulesPath; allModules = hostModules.imports; in @@ -520,13 +520,13 @@ in ** =generated/modules/traveldroid/apps/2_b_installed.nix= This installs a list of apps #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/2_b_installed.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let ################################# # FILE ################################# - confPath = "${repoPath}/generated/assets/2_b_installed.conf"; + confPath = "${flakeRoot}/generated/assets/2_b_installed.conf"; raw = builtins.readFile confPath; lines = lib.splitString "\n" raw; @@ -624,12 +624,12 @@ in { ** =generated/modules/traveldroid/apps/emacs/emacs.nix= This installs emacs #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/emacs/emacs.nix :noweb yes :mkdirp yes :eval never -{ config, pkgs, lib, repoPath, ... }: +{ config, pkgs, lib, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/emacs"; + assetPath = "${flakeRoot}/generated/.config/emacs"; # Emacs package with Tree-sitter support emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; }; @@ -797,11 +797,11 @@ in ** =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 -{ lib, pkgs, config, repoPath, ... }: +{ lib, pkgs, config, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf"; + extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf"; extraConfig = if builtins.pathExists extraConfigFile then builtins.readFile extraConfigFile @@ -845,14 +845,14 @@ in ** =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 -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let # Default username fallback username = config.defaultUser or "henrov"; # Path to the starship config in assets - starshipConfSrc = "${repoPath}/generated/.config/starship.toml"; + starshipConfSrc = "${flakeRoot}/generated/.config/starship.toml"; in { ################################# @@ -925,11 +925,11 @@ in ** =generated/modules/traveldroid/apps/wofi.nix= This is the install for Wofi, the launcher #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/wofi.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/wofi"; + assetPath = "${flakeRoot}/generated/.config/wofi"; in { environment.systemPackages = [ pkgs.wofi ]; @@ -972,19 +972,19 @@ in ** =generated/modules/traveldroid/apps/zsh.nix= This sets up the zsh in the terminal #+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let ################################# # User config ################################# username = config.defaultUser or "henrov"; - generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc"; + generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc"; ################################# # Alias parsing ################################# - aliasFile = "${repoPath}/generated/assets/aliases.conf"; + aliasFile = "${flakeRoot}/generated/assets/aliases.conf"; content = builtins.readFile aliasFile; lines = @@ -1119,10 +1119,10 @@ in ** =generated/modules/traveldroid/desktop/hyprland.nix= Setting up Hyprland #+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/hyprland.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, home-manager, inputs, ... }: +{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/hypr"; + assetPath = "${flakeRoot}/generated/.config/hypr"; hyprlandPkg = pkgs.hyprland or pkgs.hyprland-git or @@ -1156,13 +1156,13 @@ in ** =generated/modules/traveldroid/desktop/stylix.nix= #+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/stylix.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, stylix, ... }: +{ lib, config, pkgs, flakeRoot, stylix, ... }: let username = config.defaultUser or "henrov"; moduleName = "stylix"; - assetPath = "${repoPath}/generated/.config/${moduleName}"; + assetPath = "${flakeRoot}/generated/.config/${moduleName}"; stylixConfFile = "${assetPath}/stylix.conf"; stylixConf = @@ -1195,7 +1195,7 @@ in stylix = { enable = true; - base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; + base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; polarity = "dark"; targets = { @@ -1242,12 +1242,12 @@ in ** =generated/modules/traveldroid/desktop/wallpaper.nix= Setting up wallpaper engine + wallpaper gui #+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/wallpaper.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; homeDir = "/home/${username}"; - wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers"; + wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers"; wallpaperDst = "${homeDir}/Wallpapers"; randoScript = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh"; in @@ -1411,7 +1411,7 @@ in ** =generated/modules/traveldroid/desktop/xdg.nix= This sets the XDG implementation #+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/xdg.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; homeDir = "/home/${username}"; @@ -1535,15 +1535,15 @@ in ** =generated/modules/traveldroid/system/copy_scripts.nix= This copies any scripts from /generated/.config/scripts to ~/.config/scripts and makes any .sh files executable. #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - configPath = repoPath + "/generated/.config/scripts"; + configPath = flakeRoot + "/generated/.config/scripts"; allFiles = lib.filesystem.listFilesRecursive configPath; toRelative = file: let - base = toString repoPath + "/generated/"; + base = toString flakeRoot + "/generated/"; relative = lib.removePrefix base (toString file); in builtins.unsafeDiscardStringContext relative; @@ -1672,12 +1672,12 @@ This sets the firewall. ** =generated/modules/traveldroid/system/hypridle.nix= This installs hypridle #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hypridle.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - basePath = "${repoPath}/generated/.config"; - assetPath = "${repoPath}/generated/.config/hypr"; + basePath = "${flakeRoot}/generated/.config"; + assetPath = "${flakeRoot}/generated/.config/hypr"; in { ################################# @@ -1724,12 +1724,12 @@ in ** =generated/modules/traveldroid/system/hyprlock.nix= This installs hyprlock #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hyprlock.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - basePath = "${repoPath}/generated/.config"; - assetPath = "${repoPath}/generated/.config/hypr"; + basePath = "${flakeRoot}/generated/.config"; + assetPath = "${flakeRoot}/generated/.config/hypr"; in { ################################# @@ -1950,15 +1950,15 @@ This sets the dbus implementation ** =generated/modules/traveldroid/system/quickshell.nix= This sets the dbus implementation #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/quickshell.nix :noweb yes :mkdirp yes :eval never -{ pkgs, lib, config, repoPath, ... }: +{ pkgs, lib, config, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - quickshellPath = repoPath + "/generated/.config/quickshell"; + quickshellPath = flakeRoot + "/generated/.config/quickshell"; allFiles = lib.filesystem.listFilesRecursive quickshellPath; toRelative = file: let - base = toString repoPath + "/generated/"; + base = toString flakeRoot + "/generated/"; relative = lib.removePrefix base (toString file); in builtins.unsafeDiscardStringContext relative; @@ -1998,10 +1998,10 @@ in ** =generated/modules/traveldroid/system/swaync.nix= This sets the dbus implementation #+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/swaync"; + assetPath = "${flakeRoot}/generated/.config/swaync"; in { environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ]; diff --git a/Droidnix/flake.nix b/Droidnix/flake.nix index 7038661fc..ce8bd0c1b 100644 --- a/Droidnix/flake.nix +++ b/Droidnix/flake.nix @@ -35,8 +35,8 @@ system = "x86_64-linux"; flakeRoot = self; buildUser = "henrov"; - repoPath = "/home/${buildUser}/Repos/nixos/Droidnix"; - mutableConfigPath = "${repoPath}/generated/.config"; + flakeRoot = "/home/${buildUser}/Repos/nixos/Droidnix"; + mutableConfigPath = "${flakeRoot}/generated/.config"; in { nixosConfigurations = { traveldroid = nixpkgs.lib.nixosSystem { @@ -58,7 +58,7 @@ hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; @@ -74,7 +74,7 @@ hyprland zen-browser buildUser - repoPath + flakeRoot mutableConfigPath ; }; diff --git a/Droidnix/generated/hosts/traveldroid/boot.nix b/Droidnix/generated/hosts/traveldroid/boot.nix index 8d9627867..82879277e 100644 --- a/Droidnix/generated/hosts/traveldroid/boot.nix +++ b/Droidnix/generated/hosts/traveldroid/boot.nix @@ -1,6 +1,6 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ config, pkgs, lib, repoPath, ... }: +{ config, pkgs, lib, flakeRoot, ... }: { boot.loader = { systemd-boot.enable = true; diff --git a/Droidnix/generated/hosts/traveldroid/host.nix b/Droidnix/generated/hosts/traveldroid/host.nix index c5170026e..5f4e422b3 100644 --- a/Droidnix/generated/hosts/traveldroid/host.nix +++ b/Droidnix/generated/hosts/traveldroid/host.nix @@ -1,9 +1,9 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, import-tree, home-manager, ... }: +{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }: let hostname = "traveldroid"; - modulesPath = "${repoPath}/generated/modules/${hostname}"; + modulesPath = "${flakeRoot}/generated/modules/${hostname}"; hostModules = import-tree modulesPath; allModules = hostModules.imports; in diff --git a/Droidnix/generated/modules/traveldroid/apps/2_b_installed.nix b/Droidnix/generated/modules/traveldroid/apps/2_b_installed.nix index ae15843b8..442a6f26a 100644 --- a/Droidnix/generated/modules/traveldroid/apps/2_b_installed.nix +++ b/Droidnix/generated/modules/traveldroid/apps/2_b_installed.nix @@ -1,11 +1,11 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let ################################# # FILE ################################# - confPath = "${repoPath}/generated/assets/2_b_installed.conf"; + confPath = "${flakeRoot}/generated/assets/2_b_installed.conf"; raw = builtins.readFile confPath; lines = lib.splitString "\n" raw; diff --git a/Droidnix/generated/modules/traveldroid/apps/emacs/emacs.nix b/Droidnix/generated/modules/traveldroid/apps/emacs/emacs.nix index 0bfc050f5..359d581b7 100644 --- a/Droidnix/generated/modules/traveldroid/apps/emacs/emacs.nix +++ b/Droidnix/generated/modules/traveldroid/apps/emacs/emacs.nix @@ -1,10 +1,10 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ config, pkgs, lib, repoPath, ... }: +{ config, pkgs, lib, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/emacs"; + assetPath = "${flakeRoot}/generated/.config/emacs"; # Emacs package with Tree-sitter support emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; }; diff --git a/Droidnix/generated/modules/traveldroid/apps/kitty.nix b/Droidnix/generated/modules/traveldroid/apps/kitty.nix index 17efc35ac..cff7c665a 100644 --- a/Droidnix/generated/modules/traveldroid/apps/kitty.nix +++ b/Droidnix/generated/modules/traveldroid/apps/kitty.nix @@ -1,9 +1,9 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, pkgs, config, repoPath, ... }: +{ lib, pkgs, config, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf"; + extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf"; extraConfig = if builtins.pathExists extraConfigFile then builtins.readFile extraConfigFile diff --git a/Droidnix/generated/modules/traveldroid/apps/starship.nix b/Droidnix/generated/modules/traveldroid/apps/starship.nix index 4e94f1f33..62624c989 100644 --- a/Droidnix/generated/modules/traveldroid/apps/starship.nix +++ b/Droidnix/generated/modules/traveldroid/apps/starship.nix @@ -1,12 +1,12 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let # Default username fallback username = config.defaultUser or "henrov"; # Path to the starship config in assets - starshipConfSrc = "${repoPath}/generated/.config/starship.toml"; + starshipConfSrc = "${flakeRoot}/generated/.config/starship.toml"; in { ################################# diff --git a/Droidnix/generated/modules/traveldroid/apps/wofi.nix b/Droidnix/generated/modules/traveldroid/apps/wofi.nix index 359bd3af0..0b463b018 100644 --- a/Droidnix/generated/modules/traveldroid/apps/wofi.nix +++ b/Droidnix/generated/modules/traveldroid/apps/wofi.nix @@ -1,9 +1,9 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/wofi"; + assetPath = "${flakeRoot}/generated/.config/wofi"; in { environment.systemPackages = [ pkgs.wofi ]; diff --git a/Droidnix/generated/modules/traveldroid/apps/zsh.nix b/Droidnix/generated/modules/traveldroid/apps/zsh.nix index 83a8edc10..d4ca4c2bb 100644 --- a/Droidnix/generated/modules/traveldroid/apps/zsh.nix +++ b/Droidnix/generated/modules/traveldroid/apps/zsh.nix @@ -1,17 +1,17 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let ################################# # User config ################################# username = config.defaultUser or "henrov"; - generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc"; + generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc"; ################################# # Alias parsing ################################# - aliasFile = "${repoPath}/generated/assets/aliases.conf"; + aliasFile = "${flakeRoot}/generated/assets/aliases.conf"; content = builtins.readFile aliasFile; lines = diff --git a/Droidnix/generated/modules/traveldroid/desktop/hyprland.nix b/Droidnix/generated/modules/traveldroid/desktop/hyprland.nix index 7864744ea..4ea578190 100644 --- a/Droidnix/generated/modules/traveldroid/desktop/hyprland.nix +++ b/Droidnix/generated/modules/traveldroid/desktop/hyprland.nix @@ -1,8 +1,8 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, home-manager, inputs, ... }: +{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/hypr"; + assetPath = "${flakeRoot}/generated/.config/hypr"; hyprlandPkg = pkgs.hyprland or pkgs.hyprland-git or diff --git a/Droidnix/generated/modules/traveldroid/desktop/stylix.nix b/Droidnix/generated/modules/traveldroid/desktop/stylix.nix index f8d322b02..001e97a2e 100644 --- a/Droidnix/generated/modules/traveldroid/desktop/stylix.nix +++ b/Droidnix/generated/modules/traveldroid/desktop/stylix.nix @@ -1,11 +1,11 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, stylix, ... }: +{ lib, config, pkgs, flakeRoot, stylix, ... }: let username = config.defaultUser or "henrov"; moduleName = "stylix"; - assetPath = "${repoPath}/generated/.config/${moduleName}"; + assetPath = "${flakeRoot}/generated/.config/${moduleName}"; stylixConfFile = "${assetPath}/stylix.conf"; stylixConf = @@ -38,7 +38,7 @@ in stylix = { enable = true; - base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; + base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml"; polarity = "dark"; targets = { diff --git a/Droidnix/generated/modules/traveldroid/desktop/wallpaper.nix b/Droidnix/generated/modules/traveldroid/desktop/wallpaper.nix index 52f6e753f..7ad199082 100644 --- a/Droidnix/generated/modules/traveldroid/desktop/wallpaper.nix +++ b/Droidnix/generated/modules/traveldroid/desktop/wallpaper.nix @@ -1,10 +1,10 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; homeDir = "/home/${username}"; - wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers"; + wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers"; wallpaperDst = "${homeDir}/Wallpapers"; randoScript = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh"; in diff --git a/Droidnix/generated/modules/traveldroid/desktop/xdg.nix b/Droidnix/generated/modules/traveldroid/desktop/xdg.nix index 7fc7eb70c..f8db07b67 100644 --- a/Droidnix/generated/modules/traveldroid/desktop/xdg.nix +++ b/Droidnix/generated/modules/traveldroid/desktop/xdg.nix @@ -1,5 +1,5 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; homeDir = "/home/${username}"; diff --git a/Droidnix/generated/modules/traveldroid/system/colors.nix b/Droidnix/generated/modules/traveldroid/system/colors.nix index 88a9a76e0..e3b4b8ac4 100644 --- a/Droidnix/generated/modules/traveldroid/system/colors.nix +++ b/Droidnix/generated/modules/traveldroid/system/colors.nix @@ -1,5 +1,5 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let colors = { border = "#97C9E6"; @@ -49,7 +49,7 @@ in home-manager.users.${username} = { home.file = { ".config/shared/colors.css" = { - source = "${repoPath}/generated/.config/shared/colors.css"; + source = "${flakeRoot}/generated/.config/shared/colors.css"; force = true; }; ".config/quickshell/Colors.qml" = { diff --git a/Droidnix/generated/modules/traveldroid/system/copy_scripts.nix b/Droidnix/generated/modules/traveldroid/system/copy_scripts.nix index 85db1f460..5d5c26a13 100644 --- a/Droidnix/generated/modules/traveldroid/system/copy_scripts.nix +++ b/Droidnix/generated/modules/traveldroid/system/copy_scripts.nix @@ -1,13 +1,13 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - configPath = repoPath + "/generated/.config/scripts"; + configPath = flakeRoot + "/generated/.config/scripts"; allFiles = lib.filesystem.listFilesRecursive configPath; toRelative = file: let - base = toString repoPath + "/generated/"; + base = toString flakeRoot + "/generated/"; relative = lib.removePrefix base (toString file); in builtins.unsafeDiscardStringContext relative; diff --git a/Droidnix/generated/modules/traveldroid/system/hypridle.nix b/Droidnix/generated/modules/traveldroid/system/hypridle.nix index fcfe1d2d9..29f949d67 100644 --- a/Droidnix/generated/modules/traveldroid/system/hypridle.nix +++ b/Droidnix/generated/modules/traveldroid/system/hypridle.nix @@ -1,10 +1,10 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - basePath = "${repoPath}/generated/.config"; - assetPath = "${repoPath}/generated/.config/hypr"; + basePath = "${flakeRoot}/generated/.config"; + assetPath = "${flakeRoot}/generated/.config/hypr"; in { ################################# diff --git a/Droidnix/generated/modules/traveldroid/system/hyprlock.nix b/Droidnix/generated/modules/traveldroid/system/hyprlock.nix index 41eccfc96..ec215e4a2 100644 --- a/Droidnix/generated/modules/traveldroid/system/hyprlock.nix +++ b/Droidnix/generated/modules/traveldroid/system/hyprlock.nix @@ -1,10 +1,10 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - basePath = "${repoPath}/generated/.config"; - assetPath = "${repoPath}/generated/.config/hypr"; + basePath = "${flakeRoot}/generated/.config"; + assetPath = "${flakeRoot}/generated/.config/hypr"; in { ################################# diff --git a/Droidnix/generated/modules/traveldroid/system/quickshell.nix b/Droidnix/generated/modules/traveldroid/system/quickshell.nix index 1d7231ec8..8edac971a 100644 --- a/Droidnix/generated/modules/traveldroid/system/quickshell.nix +++ b/Droidnix/generated/modules/traveldroid/system/quickshell.nix @@ -1,13 +1,13 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ pkgs, lib, config, repoPath, ... }: +{ pkgs, lib, config, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - quickshellPath = repoPath + "/generated/.config/quickshell"; + quickshellPath = flakeRoot + "/generated/.config/quickshell"; allFiles = lib.filesystem.listFilesRecursive quickshellPath; toRelative = file: let - base = toString repoPath + "/generated/"; + base = toString flakeRoot + "/generated/"; relative = lib.removePrefix base (toString file); in builtins.unsafeDiscardStringContext relative; diff --git a/Droidnix/generated/modules/traveldroid/system/swaync.nix b/Droidnix/generated/modules/traveldroid/system/swaync.nix index dff754319..64f9ba18d 100644 --- a/Droidnix/generated/modules/traveldroid/system/swaync.nix +++ b/Droidnix/generated/modules/traveldroid/system/swaync.nix @@ -1,8 +1,8 @@ # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- -{ lib, config, pkgs, repoPath, ... }: +{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; - assetPath = "${repoPath}/generated/.config/swaync"; + assetPath = "${flakeRoot}/generated/.config/swaync"; in { environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ];