Regenerated
@@ -232,8 +232,8 @@ in
|
|||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
devices = [ "nodev" ]; # pas aan naar je echte EFI-device indien nodig
|
devices = [ "nodev" ]; # pas aan naar je echte EFI-device indien nodig
|
||||||
useOSProber = true;
|
useOSProber = true;
|
||||||
timeout = 5;
|
|
||||||
};
|
};
|
||||||
|
timeout = 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
############################
|
############################
|
||||||
@@ -290,7 +290,7 @@ let
|
|||||||
#################################
|
#################################
|
||||||
# Read package list from config file
|
# Read package list from config file
|
||||||
#################################
|
#################################
|
||||||
packagesConfPath = "${flakeRoot}/assets/system/apps/packages.conf";
|
packagesConfPath = "${flakeRoot}assets/traveldroid/conf/packages.conf";
|
||||||
raw = builtins.readFile packagesConfPath;
|
raw = builtins.readFile packagesConfPath;
|
||||||
|
|
||||||
rawLines = lib.splitString "\n" raw;
|
rawLines = lib.splitString "\n" raw;
|
||||||
@@ -356,7 +356,7 @@ let
|
|||||||
#################################
|
#################################
|
||||||
# Paths to assets
|
# Paths to assets
|
||||||
#################################
|
#################################
|
||||||
assetPath = ../../../assets/system/conf/${moduleName};
|
assetPath = ../../../assets/traveldroid/conf/${moduleName};
|
||||||
programFiles = builtins.readDir assetPath;
|
programFiles = builtins.readDir assetPath;
|
||||||
|
|
||||||
# Convert asset files into a nix attribute set
|
# Convert asset files into a nix attribute set
|
||||||
@@ -401,41 +401,35 @@ in
|
|||||||
** =generated/modules/traveldroid/apps/starship.nix=
|
** =generated/modules/traveldroid/apps/starship.nix=
|
||||||
This file sets up starship prompt
|
This file sets up starship prompt
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
programs.starship = {
|
# Default username fallback
|
||||||
enable = true; # enable Starship integration
|
username = config.defaultUser or "henrov";
|
||||||
};
|
|
||||||
}
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** =generated/modules/traveldroid/apps/zsh.nix=
|
# Path to the starship config in assets
|
||||||
This sets up the zsh in the terminal
|
starshipConfSrc = "${flakeRoot}/assets/traveldroid/conf/starship.toml";
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb tangle :mkdirp yes :eval never-html
|
in
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
#################################
|
||||||
enable = true;
|
# Enable Starship system-wide
|
||||||
enableCompletion = true;
|
#################################
|
||||||
#autocd = true;
|
environment.systemPackages = [ pkgs.starship ];
|
||||||
#dotDir = "${config.xdg.configHome}/zsh";
|
|
||||||
ohMyZsh = {
|
#################################
|
||||||
enable = true;
|
# Home Manager user configuration
|
||||||
theme = "";
|
#################################
|
||||||
plugins = [
|
_module.args.hmUsers = {
|
||||||
"git"
|
${username} = {
|
||||||
"sudo"
|
programs.starship = {
|
||||||
"extract"
|
enable = true;
|
||||||
"colored-man-pages"
|
};
|
||||||
"command-not-found"
|
|
||||||
"history"
|
# Copy the starship.toml from assets to ~/.config/starship.toml
|
||||||
"docker"
|
home.file = {
|
||||||
"kubectl"
|
".config/starship.toml" = { source = starshipConfSrc; };
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
#autosuggestion.enable = true;
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@@ -449,7 +443,7 @@ Setting up Hyprland
|
|||||||
|
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
assetPath = "${flakeRoot}/assets/hyprland/conf";
|
assetPath = "${flakeRoot}/assets/traveldroid/conf/hypr/";
|
||||||
|
|
||||||
# Read all files in the asset directory
|
# Read all files in the asset directory
|
||||||
assetFiles = builtins.attrNames (builtins.readDir assetPath);
|
assetFiles = builtins.attrNames (builtins.readDir assetPath);
|
||||||
@@ -494,7 +488,7 @@ let
|
|||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
|
|
||||||
moduleName = "stylix";
|
moduleName = "stylix";
|
||||||
assetPath = "${flakeRoot}/assets/system/conf/${moduleName}";
|
assetPath = "${flakeRoot}/assets/traveldroid/conf/";
|
||||||
|
|
||||||
# Read all files in the asset directory
|
# Read all files in the asset directory
|
||||||
programFiles = builtins.readDir assetPath;
|
programFiles = builtins.readDir assetPath;
|
||||||
@@ -566,7 +560,7 @@ in
|
|||||||
#################################
|
#################################
|
||||||
# Optional: enable graphics stack
|
# Optional: enable graphics stack
|
||||||
#################################
|
#################################
|
||||||
hardware.opengl.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Optional session variables for Wayland
|
# Optional session variables for Wayland
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# Droidnix Base Configuration
|
|
||||||
# Choose your window manager: hyprland or mangowc
|
|
||||||
wm = "hyprland"
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
hyprland = true;
|
|
||||||
gtk = false;
|
|
||||||
henrov = true;
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
|
Before Width: | Height: | Size: 306 KiB After Width: | Height: | Size: 306 KiB |
|
Before Width: | Height: | Size: 391 KiB After Width: | Height: | Size: 391 KiB |
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 221 KiB After Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |
|
Before Width: | Height: | Size: 306 KiB After Width: | Height: | Size: 306 KiB |
|
Before Width: | Height: | Size: 391 KiB After Width: | Height: | Size: 391 KiB |
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 221 KiB After Width: | Height: | Size: 221 KiB |