Regenerated
This commit is contained in:
+428
-428
File diff suppressed because it is too large
Load Diff
+44
-44
@@ -215,8 +215,8 @@ The Nix flake definition for Droidnix.
|
||||
system = "x86_64-linux";
|
||||
flakeRoot = self;
|
||||
buildUser = "henrov";
|
||||
repoPath = "/home/${buildUser}/Repos/nixos/Droidnix";
|
||||
mutableConfigPath = "${repoPath}/generated/.config";
|
||||
flakeRoot = "/home/${buildUser}/Repos/nixos/Droidnix";
|
||||
mutableConfigPath = "${flakeRoot}/generated/.config";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
traveldroid = nixpkgs.lib.nixosSystem {
|
||||
@@ -238,7 +238,7 @@ The Nix flake definition for Droidnix.
|
||||
hyprland
|
||||
zen-browser
|
||||
buildUser
|
||||
repoPath
|
||||
flakeRoot
|
||||
mutableConfigPath
|
||||
;
|
||||
};
|
||||
@@ -254,7 +254,7 @@ The Nix flake definition for Droidnix.
|
||||
hyprland
|
||||
zen-browser
|
||||
buildUser
|
||||
repoPath
|
||||
flakeRoot
|
||||
mutableConfigPath
|
||||
;
|
||||
};
|
||||
@@ -267,7 +267,7 @@ The Nix flake definition for Droidnix.
|
||||
** =generated/modules/traveldroid/system/colors.nix=
|
||||
Setting the colors for Droidnix.
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/colors.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
colors = {
|
||||
border = "#97C9E6";
|
||||
@@ -317,7 +317,7 @@ in
|
||||
home-manager.users.${username} = {
|
||||
home.file = {
|
||||
".config/shared/colors.css" = {
|
||||
source = "${repoPath}/generated/.config/shared/colors.css";
|
||||
source = "${flakeRoot}/generated/.config/shared/colors.css";
|
||||
force = true;
|
||||
};
|
||||
".config/quickshell/Colors.qml" = {
|
||||
@@ -340,7 +340,7 @@ in
|
||||
** =generated/hosts/traveldroid/boot.nix=
|
||||
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb yes :mkdirp yes :eval never
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ config, pkgs, lib, repoPath, ... }:
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
@@ -460,11 +460,11 @@ in
|
||||
|
||||
** =generated/hosts/traveldroid/host.nix=
|
||||
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/host.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, import-tree, home-manager, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
|
||||
|
||||
let
|
||||
hostname = "traveldroid";
|
||||
modulesPath = "${repoPath}/generated/modules/${hostname}";
|
||||
modulesPath = "${flakeRoot}/generated/modules/${hostname}";
|
||||
hostModules = import-tree modulesPath;
|
||||
allModules = hostModules.imports;
|
||||
in
|
||||
@@ -520,13 +520,13 @@ in
|
||||
** =generated/modules/traveldroid/apps/2_b_installed.nix=
|
||||
This installs a list of apps
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/2_b_installed.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
#################################
|
||||
# FILE
|
||||
#################################
|
||||
confPath = "${repoPath}/generated/assets/2_b_installed.conf";
|
||||
confPath = "${flakeRoot}/generated/assets/2_b_installed.conf";
|
||||
raw = builtins.readFile confPath;
|
||||
lines = lib.splitString "\n" raw;
|
||||
|
||||
@@ -624,12 +624,12 @@ in {
|
||||
** =generated/modules/traveldroid/apps/emacs/emacs.nix=
|
||||
This installs emacs
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/emacs/emacs.nix :noweb yes :mkdirp yes :eval never
|
||||
{ config, pkgs, lib, repoPath, ... }:
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
|
||||
assetPath = "${repoPath}/generated/.config/emacs";
|
||||
assetPath = "${flakeRoot}/generated/.config/emacs";
|
||||
|
||||
# Emacs package with Tree-sitter support
|
||||
emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; };
|
||||
@@ -797,11 +797,11 @@ in
|
||||
** =generated/modules/traveldroid/apps/kitty.nix=
|
||||
This file sets up Kitty terminal
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/kitty.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, pkgs, config, repoPath, ... }:
|
||||
{ lib, pkgs, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf";
|
||||
extraConfigFile = "${flakeRoot}/generated/.config/kitty/extra.conf";
|
||||
extraConfig =
|
||||
if builtins.pathExists extraConfigFile
|
||||
then builtins.readFile extraConfigFile
|
||||
@@ -845,14 +845,14 @@ in
|
||||
** =generated/modules/traveldroid/apps/starship.nix=
|
||||
This file sets up starship prompt
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Default username fallback
|
||||
username = config.defaultUser or "henrov";
|
||||
|
||||
# Path to the starship config in assets
|
||||
starshipConfSrc = "${repoPath}/generated/.config/starship.toml";
|
||||
starshipConfSrc = "${flakeRoot}/generated/.config/starship.toml";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
@@ -925,11 +925,11 @@ in
|
||||
** =generated/modules/traveldroid/apps/wofi.nix=
|
||||
This is the install for Wofi, the launcher
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/wofi.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/wofi";
|
||||
assetPath = "${flakeRoot}/generated/.config/wofi";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ pkgs.wofi ];
|
||||
@@ -972,19 +972,19 @@ in
|
||||
** =generated/modules/traveldroid/apps/zsh.nix=
|
||||
This sets up the zsh in the terminal
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
#################################
|
||||
# User config
|
||||
#################################
|
||||
username = config.defaultUser or "henrov";
|
||||
generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc";
|
||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||
|
||||
#################################
|
||||
# Alias parsing
|
||||
#################################
|
||||
aliasFile = "${repoPath}/generated/assets/aliases.conf";
|
||||
aliasFile = "${flakeRoot}/generated/assets/aliases.conf";
|
||||
content = builtins.readFile aliasFile;
|
||||
|
||||
lines =
|
||||
@@ -1119,10 +1119,10 @@ in
|
||||
** =generated/modules/traveldroid/desktop/hyprland.nix=
|
||||
Setting up Hyprland
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/hyprland.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, home-manager, inputs, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||
hyprlandPkg =
|
||||
pkgs.hyprland or
|
||||
pkgs.hyprland-git or
|
||||
@@ -1156,13 +1156,13 @@ in
|
||||
|
||||
** =generated/modules/traveldroid/desktop/stylix.nix=
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/stylix.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, stylix, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, stylix, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
moduleName = "stylix";
|
||||
|
||||
assetPath = "${repoPath}/generated/.config/${moduleName}";
|
||||
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
|
||||
|
||||
stylixConfFile = "${assetPath}/stylix.conf";
|
||||
stylixConf =
|
||||
@@ -1195,7 +1195,7 @@ in
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
|
||||
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
|
||||
polarity = "dark";
|
||||
|
||||
targets = {
|
||||
@@ -1242,12 +1242,12 @@ in
|
||||
** =generated/modules/traveldroid/desktop/wallpaper.nix=
|
||||
Setting up wallpaper engine + wallpaper gui
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/wallpaper.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
homeDir = "/home/${username}";
|
||||
wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers";
|
||||
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
|
||||
wallpaperDst = "${homeDir}/Wallpapers";
|
||||
randoScript = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh";
|
||||
in
|
||||
@@ -1411,7 +1411,7 @@ in
|
||||
** =generated/modules/traveldroid/desktop/xdg.nix=
|
||||
This sets the XDG implementation
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/xdg.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
homeDir = "/home/${username}";
|
||||
@@ -1535,15 +1535,15 @@ in
|
||||
** =generated/modules/traveldroid/system/copy_scripts.nix=
|
||||
This copies any scripts from /generated/.config/scripts to ~/.config/scripts and makes any .sh files executable.
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/copy_scripts.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
configPath = repoPath + "/generated/.config/scripts";
|
||||
configPath = flakeRoot + "/generated/.config/scripts";
|
||||
allFiles = lib.filesystem.listFilesRecursive configPath;
|
||||
|
||||
toRelative = file:
|
||||
let
|
||||
base = toString repoPath + "/generated/";
|
||||
base = toString flakeRoot + "/generated/";
|
||||
relative = lib.removePrefix base (toString file);
|
||||
in
|
||||
builtins.unsafeDiscardStringContext relative;
|
||||
@@ -1672,12 +1672,12 @@ This sets the firewall.
|
||||
** =generated/modules/traveldroid/system/hypridle.nix=
|
||||
This installs hypridle
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hypridle.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
basePath = "${repoPath}/generated/.config";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
basePath = "${flakeRoot}/generated/.config";
|
||||
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
@@ -1724,12 +1724,12 @@ in
|
||||
** =generated/modules/traveldroid/system/hyprlock.nix=
|
||||
This installs hyprlock
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hyprlock.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
basePath = "${repoPath}/generated/.config";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
basePath = "${flakeRoot}/generated/.config";
|
||||
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
@@ -1950,15 +1950,15 @@ This sets the dbus implementation
|
||||
** =generated/modules/traveldroid/system/quickshell.nix=
|
||||
This sets the dbus implementation
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/quickshell.nix :noweb yes :mkdirp yes :eval never
|
||||
{ pkgs, lib, config, repoPath, ... }:
|
||||
{ pkgs, lib, config, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
quickshellPath = repoPath + "/generated/.config/quickshell";
|
||||
quickshellPath = flakeRoot + "/generated/.config/quickshell";
|
||||
allFiles = lib.filesystem.listFilesRecursive quickshellPath;
|
||||
|
||||
toRelative = file:
|
||||
let
|
||||
base = toString repoPath + "/generated/";
|
||||
base = toString flakeRoot + "/generated/";
|
||||
relative = lib.removePrefix base (toString file);
|
||||
in
|
||||
builtins.unsafeDiscardStringContext relative;
|
||||
@@ -1998,10 +1998,10 @@ in
|
||||
** =generated/modules/traveldroid/system/swaync.nix=
|
||||
This sets the dbus implementation
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/swaync";
|
||||
assetPath = "${flakeRoot}/generated/.config/swaync";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ];
|
||||
|
||||
+4
-4
@@ -35,8 +35,8 @@
|
||||
system = "x86_64-linux";
|
||||
flakeRoot = self;
|
||||
buildUser = "henrov";
|
||||
repoPath = "/home/${buildUser}/Repos/nixos/Droidnix";
|
||||
mutableConfigPath = "${repoPath}/generated/.config";
|
||||
flakeRoot = "/home/${buildUser}/Repos/nixos/Droidnix";
|
||||
mutableConfigPath = "${flakeRoot}/generated/.config";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
traveldroid = nixpkgs.lib.nixosSystem {
|
||||
@@ -58,7 +58,7 @@
|
||||
hyprland
|
||||
zen-browser
|
||||
buildUser
|
||||
repoPath
|
||||
flakeRoot
|
||||
mutableConfigPath
|
||||
;
|
||||
};
|
||||
@@ -74,7 +74,7 @@
|
||||
hyprland
|
||||
zen-browser
|
||||
buildUser
|
||||
repoPath
|
||||
flakeRoot
|
||||
mutableConfigPath
|
||||
;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ config, pkgs, lib, repoPath, ... }:
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ lib, config, pkgs, repoPath, import-tree, home-manager, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
|
||||
|
||||
let
|
||||
hostname = "traveldroid";
|
||||
modulesPath = "${repoPath}/generated/modules/${hostname}";
|
||||
modulesPath = "${flakeRoot}/generated/modules/${hostname}";
|
||||
hostModules = import-tree modulesPath;
|
||||
allModules = hostModules.imports;
|
||||
in
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ lib, config, pkgs, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
#################################
|
||||
# FILE
|
||||
#################################
|
||||
confPath = "${repoPath}/generated/assets/2_b_installed.conf";
|
||||
confPath = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
|
||||
assetPath = "${repoPath}/generated/.config/emacs";
|
||||
assetPath = "${flakeRoot}/generated/.config/emacs";
|
||||
|
||||
# Emacs package with Tree-sitter support
|
||||
emacsPkg = pkgs.emacs-pgtk.override { withTreeSitter = true; };
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||
{ lib, pkgs, config, repoPath, ... }:
|
||||
{ lib, pkgs, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
extraConfigFile = "${repoPath}/generated/.config/kitty/extra.conf";
|
||||
extraConfigFile = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Default username fallback
|
||||
username = config.defaultUser or "henrov";
|
||||
|
||||
# Path to the starship config in assets
|
||||
starshipConfSrc = "${repoPath}/generated/.config/starship.toml";
|
||||
starshipConfSrc = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/wofi";
|
||||
assetPath = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
#################################
|
||||
# User config
|
||||
#################################
|
||||
username = config.defaultUser or "henrov";
|
||||
generatedZsh = "${repoPath}/generated/.config/zsh/.zshrc";
|
||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||
|
||||
#################################
|
||||
# Alias parsing
|
||||
#################################
|
||||
aliasFile = "${repoPath}/generated/assets/aliases.conf";
|
||||
aliasFile = "${flakeRoot}/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, repoPath, home-manager, inputs, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
assetPath = "${flakeRoot}/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, repoPath, stylix, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, stylix, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
moduleName = "stylix";
|
||||
|
||||
assetPath = "${repoPath}/generated/.config/${moduleName}";
|
||||
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
|
||||
|
||||
stylixConfFile = "${assetPath}/stylix.conf";
|
||||
stylixConf =
|
||||
@@ -38,7 +38,7 @@ in
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
base16Scheme = "${repoPath}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
|
||||
base16Scheme = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
homeDir = "/home/${username}";
|
||||
wallpaperSrc = "${repoPath}/assets/traveldroid/Wallpapers";
|
||||
wallpaperSrc = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
colors = {
|
||||
border = "#97C9E6";
|
||||
@@ -49,7 +49,7 @@ in
|
||||
home-manager.users.${username} = {
|
||||
home.file = {
|
||||
".config/shared/colors.css" = {
|
||||
source = "${repoPath}/generated/.config/shared/colors.css";
|
||||
source = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
configPath = repoPath + "/generated/.config/scripts";
|
||||
configPath = flakeRoot + "/generated/.config/scripts";
|
||||
allFiles = lib.filesystem.listFilesRecursive configPath;
|
||||
|
||||
toRelative = file:
|
||||
let
|
||||
base = toString repoPath + "/generated/";
|
||||
base = toString flakeRoot + "/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
basePath = "${repoPath}/generated/.config";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
basePath = "${flakeRoot}/generated/.config";
|
||||
assetPath = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
basePath = "${repoPath}/generated/.config";
|
||||
assetPath = "${repoPath}/generated/.config/hypr";
|
||||
basePath = "${flakeRoot}/generated/.config";
|
||||
assetPath = "${flakeRoot}/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, repoPath, ... }:
|
||||
{ pkgs, lib, config, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
quickshellPath = repoPath + "/generated/.config/quickshell";
|
||||
quickshellPath = flakeRoot + "/generated/.config/quickshell";
|
||||
allFiles = lib.filesystem.listFilesRecursive quickshellPath;
|
||||
|
||||
toRelative = file:
|
||||
let
|
||||
base = toString repoPath + "/generated/";
|
||||
base = toString flakeRoot + "/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, repoPath, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
assetPath = "${repoPath}/generated/.config/swaync";
|
||||
assetPath = "${flakeRoot}/generated/.config/swaync";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ pkgs.swaynotificationcenter pkgs.libnotify ];
|
||||
|
||||
Reference in New Issue
Block a user