Regenerated

This commit is contained in:
2026-03-22 19:03:58 +00:00
parent 44cdb559a2
commit 1d8512edde
33 changed files with 20 additions and 1508 deletions
@@ -1,69 +0,0 @@
{ pkgs, config, ... }:
let
username = config.defaultUser or "henrov";
in
{
environment.systemPackages = [
pkgs.emacs-pgtk.override { withTreeSitter = true; }
];
home-manager.users.${username} = {
home.stateVersion = "26.05";
programs.emacs = {
enable = true;
package = pkgs.emacs-pgtk.override { withTreeSitter = true; };
extraPackages = epkgs: with epkgs; [
#(epkgs.manualPackages.treesit-grammars.override { withAllGrammars = true; })
rust-mode
rustic
nix-mode
hcl-mode
nerd-icons
doom-modeline
diminish
eldoc
eldoc-box
pulsar
which-key
avy
consult
vertico
marginalia
crux
shell-pop
nerd-icons-corfu
corfu
cape
orderless
yasnippet
yasnippet-snippets
rg
exec-path-from-shell
eat
f
gptel
nixpkgs-fmt
envrc
catppuccin-theme
magit
expreg
vundo
puni
sideline
sideline-flymake
sideline-eglot
];
# Load your init.el via extraConfig
extraConfig = builtins.readFile ./init.el;
};
home.sessionVariables = {
EDITOR = "emacs";
XDG_SCREENSHOTS_DIR = "~/screenshots";
};
};
}
@@ -1,12 +0,0 @@
{ lib, pkgs, config, ... }:
{
options.enableFonts = lib.mkEnableOption "Enable nerd fonts";
config = lib.mkIf (config.enableFonts or false) {
fonts.packages = with pkgs; [
nerd-fonts.iosevka
nerd-fonts.fira-code
];
};
}
@@ -1,45 +0,0 @@
{ lib, config, ... }:
let
# --- Module variables ---
moduleName = "waybar";
username = config.defaultUser or "henrov";
# Assets directory (self-contained)
assetPath = ../../../assets/system/conf/${moduleName};
# Read required config files
waybarConfig = "${assetPath}/waybar.conf";
waybarStyle = "${assetPath}/style.css";
# Top-level toggle
enableProgram = config.enableWaybar or false;
in
{
# --- Option ---
options.enableWaybar =
lib.mkEnableOption "Enable Waybar status bar";
# --- Config ---
config = lib.mkIf enableProgram {
# Install Waybar (symbolic reference expected to be resolved elsewhere)
environment.systemPackages = [
"waybar"
];
# Deploy only required files to ~/.config/waybar
home-manager.users.${username}.xdg.configFile = {
"waybar/config".source =
if builtins.pathExists waybarConfig
then waybarConfig
else null;
"waybar/style.css".source =
if builtins.pathExists waybarStyle
then waybarStyle
else null;
};
};
}
-13
View File
@@ -1,13 +0,0 @@
{ config, pkgs, lib, ... }:
{
services.dbus = lib.mkForce {
enable = true; # Force this to be true
};
# Configure dbus-broker via its configuration file
environment.etc."dbus-broker/launch.conf".text = ''
[General]
LogLevel=warning
MaxConnectionsPerUser=2048
'';
}