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