Regenerated

This commit is contained in:
2026-04-14 20:36:37 +02:00
parent 91f131e0c2
commit d1dcf67fea
4 changed files with 357 additions and 468 deletions
+351 -411
View File
File diff suppressed because it is too large Load Diff
+3 -56
View File
@@ -139,7 +139,7 @@ com.todoist.Todoist
This is a list of additional apps to install
#+BEGIN_SRC conf :tangle generated/assets/aliases.conf :noweb yes :mkdirp yes :eval never
#File & navigation
blog=cd ~/Repos/blog && ls -lah
repo=cd ~/Repos && ls -lah
#Nix commands
nps=xdg-open https://search.nixos.org
@@ -155,6 +155,7 @@ fpl=flatpak list
fps=flatpak search
fpi=flatpak install
fpr=flatpak run
fpu=flatpak update
#ssh commands
nxc=ssh henrov@nextcloud.data-pro.nu
@@ -1396,61 +1397,6 @@ in
* generated/modules/traveldroid/system
** =generated/parked/modules/traveldroid/system/aliases.nix=
This file makes aliases in ./generated/assets/aliases.conf system-wide available
#+BEGIN_SRC nix :tangle generated/parked/modules/traveldroid/system/aliases.nix :noweb yes :mkdirp yes :eval never
{ lib, pkgs, flakeRoot,... }:
let
aliasFile = "${flakeRoot}/generated/assets/aliases.conf";
content = builtins.readFile aliasFile;
lines =
lib.filter (l: l != "")
(map (l:
let
noComment = builtins.head (lib.splitString "#" l);
in lib.trim noComment
) (lib.splitString "\n" content));
parseLine = line:
let
parts = lib.splitString "=" line;
in
if lib.length parts < 2 then null else {
name = lib.head parts;
value = lib.concatStringsSep "=" (lib.tail parts);
};
parsed =
lib.filter (x: x != null)
(map parseLine lines);
functions =
lib.concatStringsSep "\n"
(map (x: ''
${x.name}() {
${x.value} "$@"
}
'') parsed);
in
{
environment.etc."profile.d/99-alias-functions.sh".text = ''
# system-wide functions generated from aliases.conf
${functions}
'';
environment.shellInit = ''
source /etc/profile
'';
interactiveShellInit = ''
source /etc/profile.d/99-alias-functions.sh
'';
}
#+END_SRC
** =generated/modules/traveldroid/system/audio.nix=
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/audio.nix :noweb yes :mkdirp yes :eval never
{ lib, config, pkgs, ... }:
@@ -3627,6 +3573,7 @@ echo "🏗 Rebuilding NixOS..."
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
echo "📦 Updating Flatpaks..."
flatpak update -y
pause
#+END_SRC
** =generated/.config/scripts/wofi-launcher.sh=
@@ -10,3 +10,4 @@ echo "🏗 Rebuilding NixOS..."
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
echo "📦 Updating Flatpaks..."
flatpak update -y
pause
+2 -1
View File
@@ -1,6 +1,6 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
#File & navigation
blog=cd ~/Repos/blog && ls -lah
repo=cd ~/Repos && ls -lah
#Nix commands
nps=xdg-open https://search.nixos.org
@@ -16,6 +16,7 @@ fpl=flatpak list
fps=flatpak search
fpi=flatpak install
fpr=flatpak run
fpu=flatpak update
#ssh commands
nxc=ssh henrov@nextcloud.data-pro.nu