Regenerated

This commit is contained in:
2026-03-21 21:06:32 +00:00
parent 76dc773103
commit e92ccc465c
31 changed files with 23 additions and 1525 deletions
+23 -11
View File
@@ -546,9 +546,9 @@ in
}
#+END_SRC
** =generated/parked/desktop/stylix.nix=
** =generated/modules/desktop/stylix.nix=
This sets the stylix implementation
#+BEGIN_SRC nix :tangle generated/parked/desktop/stylix.nix :noweb tangle :mkdirp yes :eval never-html
#+BEGIN_SRC nix :tangle generated/modules/desktop/stylix.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, config, ... }:
let
@@ -616,9 +616,9 @@ in
}
#+END_SRC
** =generated/parked/system/terminal.nix=
** =generated/modules/system/terminal.nix=
Sets theming for the terminal
#+BEGIN_SRC nix :tangle generated/parked/system/terminal.nix :noweb tangle :mkdirp yes :eval never-html
#+BEGIN_SRC nix :tangle generated/modules/system/terminal.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, ... }:
{
@@ -682,33 +682,45 @@ Setting up Hyprland
let
username = config.defaultUser or "henrov";
# Paths
assetPath = ../../../assets/hyprland/conf/hypr;
mainConfig = "${assetPath}/hyprland.conf";
# Determine the package: prefer Nixpkgs, fallback to -git, fallback to flake input
# Determine Hyprland package with fallbacks
hyprlandPkg =
pkgs.hyprland or
pkgs.hyprland-git or
inputs.hyprland.packages.${pkgs.system}.default;
# Map all files in the asset folder to home.file entries
hyprFiles =
builtins.listToAttrs (
map (f: {
name = ".config/hypr/${f}";
value = { source = "${assetPath}/${f}"; };
}) (builtins.attrNames (builtins.readDir assetPath))
);
in
{
# Install Hyprland system-wide
# System-wide package
environment.systemPackages = [ hyprlandPkg ];
# Home Manager user settings
_module.args.hmUsers = {
${username} = {
# Ensure Hyprland is also available in the user's environment
home.packages = [ hyprlandPkg ];
# Copy main config into ~/.config/hypr
# Main config (redundant if also in the folder, but keeps explicit)
home.file.".config/hypr/hyprland.conf".source = mainConfig;
# Add all other files from asset folder
home.file = lib.mkMerge [
hyprFiles
];
# Optional module-specific settings
settings.general."col.active_border" = "0xff97cbcd 0xff89b4fa";
# Optional: add extra configs dynamically from the module's asset folder
# e.g., all files in assetPath could be mapped automatically if needed
};
};
}