re-organize home-modules

This commit is contained in:
Jonas Röger 2024-10-19 14:35:08 +02:00
parent f1d7b850fa
commit b95ebd8efc
Signed by: jonas
GPG Key ID: 4000EB35E1AE0F07
52 changed files with 36 additions and 30 deletions

View File

@ -89,7 +89,7 @@
)
inputs.plasma-manager.homeManagerModules.plasma-manager
inputs.sops-nix.homeManagerModules.sops
./home/jonas/home.nix
./home/jonas.nix
];
# Optionally use extraSpecialArgs

View File

@ -4,21 +4,21 @@
...
}: rec {
imports = [
./borg.nix
./doom.nix
./dunst
./firefox.nix
./hyprland
./kitty
./ranger
./ssh.nix
./themes/gtk
./themes/qt
./waybar
./wlogout
./wofi
./yubikey.nix
./zsh.nix
../modules/home/borg.nix
../modules/home/doom
../modules/home/dunst
../modules/home/firefox.nix
../modules/home/hyprland
../modules/home/kitty
../modules/home/ranger
../modules/home/ssh.nix
../modules/home/themes/gtk
../modules/home/themes/qt
../modules/home/waybar
../modules/home/wlogout
../modules/home/wofi
../modules/home/yubikey.nix
../modules/home/zsh
];
# Home Manager needs a bit of information about you and the paths it should

View File

View File

@ -0,0 +1,5 @@
{...}: {
imports = [
./doom.nix
];
}

View File

@ -111,17 +111,17 @@ in {
enable = true;
configFile = {
"doom-config/splash.png" = {
source = ./static/doom-config/splash.png;
source = ./static/splash.png;
};
"doom-config/config.el" = {
source = ./static/doom-config/config.el;
source = ./static/config.el;
};
"doom-config/init.el" = {
source = ./static/doom-config/init.el;
source = ./static/init.el;
onChange = "${doom-setup} sync --force -e";
};
"doom-config/packages.el" = {
source = ./static/doom-config/packages.el;
source = ./static/packages.el;
onChange = "${doom-setup} sync --force -u -e";
};
"doom-emacs" = {
@ -136,7 +136,7 @@ in {
emacs = {
name = "Doom Emacs";
genericName = "Text Editor";
icon = ./static/doom-config/icon.png;
icon = ./static/icon.png;
exec = "${wrapped-emacs}/bin/emacs %F";
terminal = false;
categories = ["Application" "Development" "TextEditor"];
@ -148,7 +148,7 @@ in {
emacsclient = {
name = "Doom Emacs (Client)";
genericName = "Text Editor";
icon = ./static/doom-config/icon.png;
icon = ./static/icon.png;
exec = ''
sh -c "if [ -n \\"\\$*\\" ]; then exec ${wrapped-emacs}/bin/emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
'';

View File

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 165 KiB

View File

@ -1,5 +1,4 @@
{
config,
pkgs,
...
}: {
@ -17,7 +16,7 @@
enable = true;
settings = {
default = {
path = ../static/wallpaper/stones.jpg;
path = ../../../static/wallpaper/stones.jpg;
};
};
};

View File

@ -1,5 +1,4 @@
{
config,
pkgs,
...
}: {

View File

@ -1,6 +1,4 @@
{
config,
pkgs,
...
}: {
programs.kitty.enable = true;

View File

@ -1,6 +1,5 @@
{
config,
pkgs,
...
}: let
sshKeys = name: {

View File

@ -9,7 +9,7 @@
mutableTrust = false;
publicKeys = [
{
source = ./static/keys/my_pub.asc;
source = ../../static/keys/my_pub.asc;
trust = "ultimate";
}
];

View File

@ -0,0 +1,7 @@
{
...
}: {
imports = [
./zsh.nix
];
}

View File

@ -1,6 +1,5 @@
{
config,
pkgs,
...
}: let
omz_custom = "${config.home.homeDirectory}/.config/omz_custom";

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 642 KiB

After

Width:  |  Height:  |  Size: 642 KiB