Regenerated

This commit is contained in:
2026-04-27 16:47:37 +02:00
parent 4ee2036fba
commit 583bdd49c1
23 changed files with 509 additions and 561 deletions
@@ -1,11 +1,11 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
#################################
# FILE
#################################
confPath = "${flakeRoot}/generated/assets/2_b_installed.conf";
confPath = "${repoPath}/generated/assets/2_b_installed.conf";
raw = builtins.readFile confPath;
lines = lib.splitString "\n" raw;
@@ -1,10 +1,10 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ config, pkgs, lib, flakeRoot, ... }:
{ config, pkgs, lib, repoPath, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/emacs";
assetPath = "${repoPath}/generated/.config/emacs";
# Emacs package with Tree-sitter support
emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; };
@@ -1,52 +0,0 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ pkgs, config, lib, ... }:
let
username = config.defaultUser or "henrov";
in
{
############################
# System-level packages
############################
environment.systemPackages = with pkgs; [
flameshot
];
############################
# Home Manager user-level configuration
############################
home-manager.users."${username}" = {
home.sessionVariables = {
SCREENSHOT_TOOL = "flameshot";
USERNAME = username;
};
# Create ~/Pictures/Screenshots by touching a dummy file
home.file."Pictures/Screenshots/.keep" = {
text = ""; # empty file
};
services.flameshot = {
enable = true;
settings = {
General = {
uiColor = "#97cbbe";
contrastUiColor = "#1e1e2e";
showDesktopNotification = true;
savePath = "/home/${username}/Pictures/Screenshots";
filenamePattern = "$Y-$m-$d_$H-$M-$S";
useGrimAdapter = true;
};
};
};
systemd.user.services.flameshot = {
Service = {
Environment = [
"WAYLAND_DISPLAY=wayland-1"
"XDG_CURRENT_DESKTOP=hyprland"
"XDG_SESSION_TYPE=wayland"
];
};
};
};
}
@@ -1,9 +1,9 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, pkgs, config, flakeRoot, ... }:
{ lib, pkgs, config, repoPath, ... }:
let
username = config.defaultUser or "henrov";
extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf";
extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf";
extraConfig =
if builtins.pathExists extraConfigFile
then builtins.readFile extraConfigFile
@@ -1,12 +1,12 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
# Default username fallback
username = config.defaultUser or "henrov";
# Path to the starship config in assets
starshipConfSrc = "${flakeRoot}/generated/.config/starship.toml";
starshipConfSrc = "${repoPath}/generated/.config/starship.toml";
in
{
#################################
@@ -1,9 +1,9 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/wofi";
assetPath = "${repoPath}/generated/.config/wofi";
in
{
environment.systemPackages = [ pkgs.wofi ];
@@ -1,17 +1,17 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
#################################
# User config
#################################
username = config.defaultUser or "henrov";
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc";
#################################
# Alias parsing
#################################
aliasFile = "${flakeRoot}/generated/assets/aliases.conf";
aliasFile = "${repoPath}/generated/assets/aliases.conf";
content = builtins.readFile aliasFile;
lines =
@@ -1,8 +1,8 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
{ lib, config, pkgs, repoPath, home-manager, inputs, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/hypr";
assetPath = "${repoPath}/generated/.config/hypr";
hyprlandPkg =
pkgs.hyprland or
pkgs.hyprland-git or
@@ -1,11 +1,11 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, stylix, ... }:
{ lib, config, pkgs, repoPath, stylix, ... }:
let
username = config.defaultUser or "henrov";
moduleName = "stylix";
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
assetPath = "${repoPath}/generated/.config/${moduleName}";
stylixConfFile = "${assetPath}/stylix.conf";
stylixConf =
@@ -38,7 +38,7 @@ in
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
@@ -1,10 +1,10 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
homeDir = "/home/${username}";
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers";
wallpaperDst = "${homeDir}/Wallpapers";
randoScript = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh";
in
@@ -1,5 +1,5 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, buildUser, repoPath, mutableConfigPath,... }:
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath,... }:
let
# Use the config option defaultUser directly, fallback to "henrov"
username = config.defaultUser or "henrov";
@@ -1,5 +1,5 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
homeDir = "/home/${username}";
@@ -1,5 +1,5 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
colors = {
crust = "#11111b";
@@ -48,7 +48,7 @@ in
home-manager.users.${username} = {
home.file = {
".config/shared/colors.css" = {
source = "${flakeRoot}/generated/.config/shared/colors.css";
source = "${repoPath}/generated/.config/shared/colors.css";
force = true;
};
".config/quickshell/Colors.qml" = {
@@ -1,13 +1,13 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
configPath = flakeRoot + "/generated/.config/scripts";
configPath = repoPath + "/generated/.config/scripts";
allFiles = lib.filesystem.listFilesRecursive configPath;
toRelative = file:
let
base = toString flakeRoot + "/generated/";
base = toString repoPath + "/generated/";
relative = lib.removePrefix base (toString file);
in
builtins.unsafeDiscardStringContext relative;
@@ -1,10 +1,10 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
basePath = "${flakeRoot}/generated/.config";
assetPath = "${flakeRoot}/generated/.config/hypr";
basePath = "${repoPath}/generated/.config";
assetPath = "${repoPath}/generated/.config/hypr";
in
{
#################################
@@ -1,10 +1,10 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
basePath = "${flakeRoot}/generated/.config";
assetPath = "${flakeRoot}/generated/.config/hypr";
basePath = "${repoPath}/generated/.config";
assetPath = "${repoPath}/generated/.config/hypr";
in
{
#################################
@@ -1,13 +1,13 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ pkgs, lib, config, flakeRoot, ... }:
{ pkgs, lib, config, repoPath, ... }:
let
username = config.defaultUser or "henrov";
quickshellPath = flakeRoot + "/generated/.config/quickshell";
quickshellPath = repoPath + "/generated/.config/quickshell";
allFiles = lib.filesystem.listFilesRecursive quickshellPath;
toRelative = file:
let
base = toString flakeRoot + "/generated/";
base = toString repoPath + "/generated/";
relative = lib.removePrefix base (toString file);
in
builtins.unsafeDiscardStringContext relative;
@@ -1,8 +1,8 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
{ lib, config, pkgs, repoPath, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/swaync";
assetPath = "${repoPath}/generated/.config/swaync";
in
{
environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ];