re-organize home-modules
@ -89,7 +89,7 @@
|
|||||||
)
|
)
|
||||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
./home/jonas/home.nix
|
./home/jonas.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
|
|||||||
@ -4,21 +4,21 @@
|
|||||||
...
|
...
|
||||||
}: rec {
|
}: rec {
|
||||||
imports = [
|
imports = [
|
||||||
./borg.nix
|
../modules/home/borg.nix
|
||||||
./doom.nix
|
../modules/home/doom
|
||||||
./dunst
|
../modules/home/dunst
|
||||||
./firefox.nix
|
../modules/home/firefox.nix
|
||||||
./hyprland
|
../modules/home/hyprland
|
||||||
./kitty
|
../modules/home/kitty
|
||||||
./ranger
|
../modules/home/ranger
|
||||||
./ssh.nix
|
../modules/home/ssh.nix
|
||||||
./themes/gtk
|
../modules/home/themes/gtk
|
||||||
./themes/qt
|
../modules/home/themes/qt
|
||||||
./waybar
|
../modules/home/waybar
|
||||||
./wlogout
|
../modules/home/wlogout
|
||||||
./wofi
|
../modules/home/wofi
|
||||||
./yubikey.nix
|
../modules/home/yubikey.nix
|
||||||
./zsh.nix
|
../modules/home/zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
0
hosts/wsl/configuration.nix
Normal file
5
modules/home/doom/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./doom.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -111,17 +111,17 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
configFile = {
|
configFile = {
|
||||||
"doom-config/splash.png" = {
|
"doom-config/splash.png" = {
|
||||||
source = ./static/doom-config/splash.png;
|
source = ./static/splash.png;
|
||||||
};
|
};
|
||||||
"doom-config/config.el" = {
|
"doom-config/config.el" = {
|
||||||
source = ./static/doom-config/config.el;
|
source = ./static/config.el;
|
||||||
};
|
};
|
||||||
"doom-config/init.el" = {
|
"doom-config/init.el" = {
|
||||||
source = ./static/doom-config/init.el;
|
source = ./static/init.el;
|
||||||
onChange = "${doom-setup} sync --force -e";
|
onChange = "${doom-setup} sync --force -e";
|
||||||
};
|
};
|
||||||
"doom-config/packages.el" = {
|
"doom-config/packages.el" = {
|
||||||
source = ./static/doom-config/packages.el;
|
source = ./static/packages.el;
|
||||||
onChange = "${doom-setup} sync --force -u -e";
|
onChange = "${doom-setup} sync --force -u -e";
|
||||||
};
|
};
|
||||||
"doom-emacs" = {
|
"doom-emacs" = {
|
||||||
@ -136,7 +136,7 @@ in {
|
|||||||
emacs = {
|
emacs = {
|
||||||
name = "Doom Emacs";
|
name = "Doom Emacs";
|
||||||
genericName = "Text Editor";
|
genericName = "Text Editor";
|
||||||
icon = ./static/doom-config/icon.png;
|
icon = ./static/icon.png;
|
||||||
exec = "${wrapped-emacs}/bin/emacs %F";
|
exec = "${wrapped-emacs}/bin/emacs %F";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
categories = ["Application" "Development" "TextEditor"];
|
categories = ["Application" "Development" "TextEditor"];
|
||||||
@ -148,7 +148,7 @@ in {
|
|||||||
emacsclient = {
|
emacsclient = {
|
||||||
name = "Doom Emacs (Client)";
|
name = "Doom Emacs (Client)";
|
||||||
genericName = "Text Editor";
|
genericName = "Text Editor";
|
||||||
icon = ./static/doom-config/icon.png;
|
icon = ./static/icon.png;
|
||||||
exec = ''
|
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
|
sh -c "if [ -n \\"\\$*\\" ]; then exec ${wrapped-emacs}/bin/emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
|
||||||
'';
|
'';
|
||||||
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 165 KiB |
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@ -17,7 +16,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default = {
|
default = {
|
||||||
path = ../static/wallpaper/stones.jpg;
|
path = ../../../static/wallpaper/stones.jpg;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.kitty.enable = true;
|
programs.kitty.enable = true;
|
||||||
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sshKeys = name: {
|
sshKeys = name: {
|
||||||
@ -9,7 +9,7 @@
|
|||||||
mutableTrust = false;
|
mutableTrust = false;
|
||||||
publicKeys = [
|
publicKeys = [
|
||||||
{
|
{
|
||||||
source = ./static/keys/my_pub.asc;
|
source = ../../static/keys/my_pub.asc;
|
||||||
trust = "ultimate";
|
trust = "ultimate";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
7
modules/home/zsh/default.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
omz_custom = "${config.home.homeDirectory}/.config/omz_custom";
|
omz_custom = "${config.home.homeDirectory}/.config/omz_custom";
|
||||||
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 642 KiB After Width: | Height: | Size: 642 KiB |