From 040f2291d38556465087e5196af7db8be43c767c Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Tue, 5 May 2026 11:18:00 +0200 Subject: [PATCH] Regenerated --- Droidnix/README.html | 910 +++++++++++++++++++++---------------------- Droidnix/README.org | 100 ++--- 2 files changed, 505 insertions(+), 505 deletions(-) diff --git a/Droidnix/README.html b/Droidnix/README.html index 771074fe1..2d3654127 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,146 +204,146 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

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

-
-

Root Level

-
+
+

Root Level

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

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

generated/assets/aliases.conf

-
+
+

generated/assets/aliases.conf

+

This is a list of additional apps to install

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

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

generated/modules/system/colors.nix

-
+
+

generated/modules/system/colors.nix

+

Setting the colors for Droidnix.

@@ -732,63 +732,9 @@ in
-
-

generated/modules/system/boot.nix

-
-
-
{ config, pkgs, lib, flakeRoot, ... }:
-{
-  boot.loader = {
-    systemd-boot.enable = true;
-    efi.canTouchEfiVariables = true;
-    efi.efiSysMountPoint = "/boot";
-    timeout = 5;
-  };
-
-  boot.kernelPackages = pkgs.linuxPackages_latest;
-
-  boot.consoleLogLevel = 0;
-
-  # SUGGESTION: consider enabling initrd systemd — better plymouth integration
-  # and faster boot. Test it — it works well on most modern NixOS setups.
-  boot.initrd.systemd.enable = true;
-
-  boot.plymouth.enable = true;
-
-  hardware.enableAllFirmware = true;
-  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-  hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-
-  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-
-  # Power management
-  powerManagement.enable = true;
-
-  services.logind.settings.Login = {
-    HandleSleepKey = "ignore";
-    HandleSleepKeyLongPress = "ignore";
-  };
-
-  services.thermald.enable = true;
-
-  services.tlp = {
-    enable = true;
-    settings = {
-      CPU_SCALING_GOVERNOR_ON_AC  = "performance";
-      CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
-      CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
-      PLATFORM_PROFILE_ON_AC  = "performance";
-      PLATFORM_PROFILE_ON_BAT = "low-power";
-    };
-  };
-}
-
-
-
-
-
-

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. @@ -846,9 +792,9 @@ in
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

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

generated/modules/apps

-
+
+

generated/modules/apps

+
-
-

generated/modules/apps/2_b_installed.nix

-
+
+

generated/modules/apps/2_b_installed.nix

+

This installs a list of apps

@@ -1022,9 +968,9 @@ in {
-
-

generated/modules/apps/emacs/emacs.nix

-
+
+

generated/modules/apps/emacs/emacs.nix

+

This installs emacs

@@ -1119,9 +1065,9 @@ in
-
-

generated/modules/apps/kdeconnect.nix

-
+
+

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

@@ -1149,9 +1095,9 @@ in
-
-

generated/modules/apps/kitty.nix

-
+
+

generated/modules/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -1203,9 +1149,9 @@ in
-
-

generated/modules/apps/stackstorage.nix

-
+
+

generated/modules/apps/stackstorage.nix

+

Installs the TransIP Stackstorage Appimage

@@ -1229,9 +1175,9 @@ in {
-
-

generated/modules/apps/starship.nix

-
+
+

generated/modules/apps/starship.nix

+

This file sets up starship prompt

@@ -1270,9 +1216,9 @@ in
-
-

generated/modules/apps/thunar.nix

-
+
+

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

@@ -1318,9 +1264,9 @@ in
-
-

generated/modules/apps/wofi.nix

-
+
+

generated/modules/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1355,9 +1301,9 @@ in
-
-

generated/modules/apps/zenbrowser.nix

-
+
+

generated/modules/apps/zenbrowser.nix

+

This installs zen browser

@@ -1377,9 +1323,9 @@ in
-
-

generated/modules/apps/zeditor.nix

-
+
+

generated/modules/apps/zeditor.nix

+

This sets Zed Editor

@@ -1452,9 +1398,9 @@ in
-
-

generated/modules/apps/zsh.nix

-
+
+

generated/modules/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1568,13 +1514,13 @@ in
-
-

generated/modules/desktop

-
+
+

generated/modules/desktop

+
-
-

generated/modules/desktop/fonts.nix

-
+
+

generated/modules/desktop/fonts.nix

+

This file installs and configures fonts

@@ -1592,9 +1538,9 @@ This file installs and configures fonts
-
-

generated/modules/desktop/gtk.nix

-
+
+

generated/modules/desktop/gtk.nix

+

Setting up GTK

@@ -1620,9 +1566,9 @@ in
-
-

generated/modules/desktop/hyprland.nix

-
+
+

generated/modules/desktop/hyprland.nix

+

Setting up Hyprland

@@ -1667,9 +1613,9 @@ in
-
-

generated/modules/desktop/stylix.nix

-
+
+

generated/modules/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -1756,9 +1702,9 @@ in
 
-
-

generated/modules/desktop/wallpaper.nix

-
+
+

generated/modules/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -1850,9 +1796,9 @@ in
-
-

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

-
+
+

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

+

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

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

@@ -1937,9 +1883,9 @@ done
-
-

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

-
+
+

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

+

The script that actually sets wallpaper per workspace

@@ -1982,9 +1928,9 @@ esac
-
-

generated/modules/desktop/waybar.nix

-
+
+

generated/modules/desktop/waybar.nix

+

This file installs and configures waybar

@@ -2030,9 +1976,9 @@ in
-
-

generated/modules/desktop/wayland.nix

-
+
+

generated/modules/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -2062,9 +2008,9 @@ in
 
-
-

generated/modules/desktop/xdg.nix

-
+
+

generated/modules/desktop/xdg.nix

+

This sets the XDG implementation

@@ -2198,13 +2144,13 @@ in
-
-

generated/modules/system

-
+
+

generated/modules/system

+
-
-

generated/modules/system/audio.nix

-
+
+

generated/modules/system/audio.nix

+
{ lib, config, pkgs, ... }:
 {
@@ -2237,9 +2183,9 @@ in
 
-
-

generated/modules/system/avahi.nix

-
+
+

generated/modules/system/avahi.nix

+

Avahi helps discovering services

@@ -2259,9 +2205,9 @@ Avahi helps discovering services
-
-

generated/modules/system/bluetooth.nix

-
+
+

generated/modules/system/bluetooth.nix

+

Installing Bluetooth services and supporting aps

@@ -2288,9 +2234,63 @@ in
-
-

generated/modules/system/copy_scripts.nix

-
+
+

generated/modules/system/boot.nix

+
+
+
{ config, pkgs, lib, flakeRoot, ... }:
+{
+  boot.loader = {
+    systemd-boot.enable = true;
+    efi.canTouchEfiVariables = true;
+    efi.efiSysMountPoint = "/boot";
+    timeout = 5;
+  };
+
+  boot.kernelPackages = pkgs.linuxPackages_latest;
+
+  boot.consoleLogLevel = 0;
+
+  # SUGGESTION: consider enabling initrd systemd — better plymouth integration
+  # and faster boot. Test it — it works well on most modern NixOS setups.
+  boot.initrd.systemd.enable = true;
+
+  boot.plymouth.enable = true;
+
+  hardware.enableAllFirmware = true;
+  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+  hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+
+  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+
+  # Power management
+  powerManagement.enable = true;
+
+  services.logind.settings.Login = {
+    HandleSleepKey = "ignore";
+    HandleSleepKeyLongPress = "ignore";
+  };
+
+  services.thermald.enable = true;
+
+  services.tlp = {
+    enable = true;
+    settings = {
+      CPU_SCALING_GOVERNOR_ON_AC  = "performance";
+      CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
+      CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
+      PLATFORM_PROFILE_ON_AC  = "performance";
+      PLATFORM_PROFILE_ON_BAT = "low-power";
+    };
+  };
+}
+
+
+
+
+
+

generated/modules/system/copy_scripts.nix

+

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

@@ -2331,9 +2331,9 @@ in
-
-

generated/modules/system/dbus.nix

-
+
+

generated/modules/system/dbus.nix

+

This sets the dbus implementation

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

generated/modules/system/firewall.nix

-
+
+

generated/modules/system/firewall.nix

+

This sets the firewall.

@@ -2443,9 +2443,9 @@ This sets the firewall.
-
-

generated/modules/system/hypridle.nix

-
+
+

generated/modules/system/hypridle.nix

+

This installs hypridle

@@ -2501,9 +2501,9 @@ in
-
-

generated/modules/system/hyprlock.nix

-
+
+

generated/modules/system/hyprlock.nix

+

This installs hyprlock

@@ -2560,9 +2560,9 @@ in
-
-

generated/modules/system/gnome-keyring.nix

-
+
+

generated/modules/system/gnome-keyring.nix

+

This sets the dbus implementation

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

generated/modules/system/login-tuigreet.nix

-
+
+

generated/modules/system/login-tuigreet.nix

+

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

@@ -2660,9 +2660,9 @@ in
-
-

generated/modules/system/networking.nix

-
+
+

generated/modules/system/networking.nix

+

This sets the networking.

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

generated/modules/system/numlock-check.nix

-
+
+

generated/modules/system/numlock-check.nix

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

generated/modules/system/nix.nix

-
+
+

generated/modules/system/nix.nix

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

generated/modules/system/printing.nix

-
+
+

generated/modules/system/printing.nix

+

This sets the dbus implementation

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

generated/modules/system/quickshell.nix

-
+
+

generated/modules/system/quickshell.nix

+

This sets the quickshell implementation

@@ -2855,9 +2855,9 @@ in
-
-

generated/modules/system/swaync.nix

-
+
+

generated/modules/system/swaync.nix

+

This sets the dbus implementation

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

@@ -2973,9 +2973,9 @@ in

These are all the prepared config files

-
-

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

-
+
+

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

+

This contaions emacs

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

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

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

generated/.config/hypr/animations.conf

-
+
+

generated/.config/hypr/animations.conf

+

These settings decide animations

@@ -3533,9 +3533,9 @@ These settings decide animations
-
-

generated/.config/hypr/behaviour.conf

-
+
+

generated/.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -3556,9 +3556,9 @@ input {
-
-

generated/.config/hypr/bindings.conf

-
+
+

generated/.config/hypr/bindings.conf

+

These are config files for .config/hypr

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

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

generated/.config/hypr/hypridle.conf

-
+
+

generated/.config/hypr/hypridle.conf

+

These are config files for hypridle

@@ -3782,9 +3782,9 @@ listener {
-
-

generated/.config/hypr/hyprlock.conf

-
+
+

generated/.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

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

generated/.config/hypr/hyprland.conf

-
+
+

generated/.config/hypr/hyprland.conf

+

These are config files for .config/hypr

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

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

-
+
+

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

+

These are config files for .config/hypr

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

generated/.config/hypr/layout.conf

-
+
+

generated/.config/hypr/layout.conf

+

These settings control Hyprland config

@@ -3867,9 +3867,9 @@ scrolling {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

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

@@ -3948,9 +3948,9 @@ misc {
-
-

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

-
+
+

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

+

These are config files for .config/hypr

@@ -4060,9 +4060,9 @@ windowrule {
-
-

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

-
+
+

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

+

These setttings configure rules for workspaces

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

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

-
+
+

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

+

offers a audio widget

@@ -4473,9 +4473,9 @@ ShellRoot {
-
-

generated/.config/quickshell/powermgmt/shell.qml

-
+
+

generated/.config/quickshell/powermgmt/shell.qml

+

Provides powermanagement settings

@@ -5196,9 +5196,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a powermenu

@@ -5346,9 +5346,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Updates the system

@@ -5481,9 +5481,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Provides a layout menu

@@ -5630,9 +5630,9 @@ ShellRoot {
-
-

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

-
+
+

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

+

Providing an media

@@ -5649,9 +5649,9 @@ fi
-
-

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

-
+
+

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

+

Providing an media

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

@@ -5773,9 +5773,9 @@ fi
-
-

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

-
+
+

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

+

Providing an media

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

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

-
+
+

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

+

A file containing color variables

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

generated/.config/starship.toml

-
+
+

generated/.config/starship.toml

+

These are config files for Starship

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

generated/.config/stylix/stylix.conf

-
+
+

generated/.config/stylix/stylix.conf

+

These are config files for .config/stylix

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

generated/.config/stylix/palette.json

-
+
+

generated/.config/stylix/palette.json

+

These are config files for .config/stylix

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

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

generated/.config/swaync/config.json

-
+
+

generated/.config/swaync/config.json

+

These are config files for waybar

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

generated/.config/swaync/style.css

-
+
+

generated/.config/swaync/style.css

+

These are config files for waybar

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

generated/.config/waybar/config.jsonc

-
+
+

generated/.config/waybar/config.jsonc

+

These are config files for waybar

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

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

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

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

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

-
+
+

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

+

These are config files for waybar

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

@@ -7263,9 +7263,9 @@ fi
-
-

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for waypaper

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

generated/.config/waypaper/config.ini

-
+
+

generated/.config/waypaper/config.ini

+

These are config files for .config/waypaper

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

generated/.config/wofi/config

-
+
+

generated/.config/wofi/config

+

These are config files for .config/wofi

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

generated/.config/wofi/style.css

-
+
+

generated/.config/wofi/style.css

+

This is the default layout for wofi

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

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

generated/.config/zsh/.zshrc

-
+
+

generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

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

Author: Henro Veijer

-

Created: 2026-05-05 di 11:16

+

Created: 2026-05-05 di 11:18

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 429d472ca..65ad02ea2 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -339,56 +339,6 @@ in } #+END_SRC -** =generated/modules/system/boot.nix= -#+BEGIN_SRC nix :tangle generated/modules/system/boot.nix :noweb yes :mkdirp yes :eval never -{ config, pkgs, lib, flakeRoot, ... }: -{ - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - efi.efiSysMountPoint = "/boot"; - timeout = 5; - }; - - boot.kernelPackages = pkgs.linuxPackages_latest; - - boot.consoleLogLevel = 0; - - # SUGGESTION: consider enabling initrd systemd — better plymouth integration - # and faster boot. Test it — it works well on most modern NixOS setups. - boot.initrd.systemd.enable = true; - - boot.plymouth.enable = true; - - hardware.enableAllFirmware = true; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - - # Power management - powerManagement.enable = true; - - services.logind.settings.Login = { - HandleSleepKey = "ignore"; - HandleSleepKeyLongPress = "ignore"; - }; - - services.thermald.enable = true; - - services.tlp = { - enable = true; - settings = { - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; - PLATFORM_PROFILE_ON_AC = "performance"; - PLATFORM_PROFILE_ON_BAT = "low-power"; - }; - }; -} -#+END_SRC - ** =generated/hosts/traveldroid/hardware-configuration.nix= 1. Boot into NixOS Live ISO or your installed system. 2. Open a terminal. @@ -1735,6 +1685,56 @@ in } #+END_SRC +** =generated/modules/system/boot.nix= +#+BEGIN_SRC nix :tangle generated/modules/system/boot.nix :noweb yes :mkdirp yes :eval never +{ config, pkgs, lib, flakeRoot, ... }: +{ + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + efi.efiSysMountPoint = "/boot"; + timeout = 5; + }; + + boot.kernelPackages = pkgs.linuxPackages_latest; + + boot.consoleLogLevel = 0; + + # SUGGESTION: consider enabling initrd systemd — better plymouth integration + # and faster boot. Test it — it works well on most modern NixOS setups. + boot.initrd.systemd.enable = true; + + boot.plymouth.enable = true; + + hardware.enableAllFirmware = true; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.amd.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + # Power management + powerManagement.enable = true; + + services.logind.settings.Login = { + HandleSleepKey = "ignore"; + HandleSleepKeyLongPress = "ignore"; + }; + + services.thermald.enable = true; + + services.tlp = { + enable = true; + settings = { + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; + PLATFORM_PROFILE_ON_AC = "performance"; + PLATFORM_PROFILE_ON_BAT = "low-power"; + }; + }; +} +#+END_SRC + ** =generated/modules/system/copy_scripts.nix= This copies any scripts from /generated/.config/shared//scripts to ~/.config/shared/scripts and makes any .sh files executable. #+BEGIN_SRC nix :tangle generated/modules/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never