WIP: refactor homeeConfigs
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m0s

This commit is contained in:
2025-09-24 14:13:12 +02:00
parent 5e54902447
commit 9a95e511e4
14 changed files with 201 additions and 120 deletions

View File

@ -0,0 +1,33 @@
{ lib, pkgs, ... }:
{
catppuccin = {
enable = true;
flavor = "mocha";
dunst.enable = true;
dunst.flavor="frappe";
kvantum.apply = true;
rofi.enable = false;
};
gtk = {
enable = true;
theme = { package = pkgs.flat-remix-gtk; name = "Flat-Remix-GTK-Grey-Darkest"; };
font = { name = "Sans"; size = 11; };
};
qt.style.name = "kvantum";
home.pointerCursor = {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 16;
};
home.file = {
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
".config/lock_screen.jpg".source = lib.mkDefault utils/lock_screen.jpg;
};
}

View File

@ -0,0 +1,13 @@
{ ... }:
{
catppuccin = {
enable = true;
flavor = "mocha";
dunst.enable = true;
dunst.flavor="frappe";
kvantum.apply = true;
rofi.enable = false;
};
}

View File

@ -0,0 +1,16 @@
{ ... }:
{
programs.yazi = {
enable = true;
settings.mgr.sort_dir_first=false;
programs.bash.bashExtra = ''
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
IFS= read -r -d "" cwd < "$tmp"
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
rm -f -- "$tmp"
}
'';
};
}

View File

@ -0,0 +1,21 @@
{ config, homeDir, ... }:
{
programs.rclone.enable = true;
sops.secrets."nextcloud_fuse/password" = {};
programs.rclone.remotes.nextcloud = {
config = {
type = "webdav";
url = "https://nc.tmoron.fr/remote.php/dav/files/tom";
vendor = "nextcloud";
user = "tom";
};
secrets.pass = config.sops.secrets."nextcloud_fuse/password".path;
mounts = {
"/" = {
enable = true;
mountPoint = "${homeDir}/nextcloud";
options.vfs-cache-mode = "writes";
};
};
};
}

View File

@ -0,0 +1,13 @@
{ ... }:
{
programs.rofi = {
enable = true;
theme = "rounded-nord-dark";
};
home.file.".local/share/rofi/themes".source = "${builtins.fetchGit {
url = "https://github.com/newmanls/rofi-themes-collection";
rev = "c8239a45edced3502894e1716a8b661fdea8f1c9";
ref = "master";
}}/themes";
}

View File

@ -0,0 +1,20 @@
{ ... }:
{
home.shell.enableBashIntegration = true;
home.shellAliases = {
ls= "ls --color=auto";
grep = "grep --color=auto";
vim = "nvim";
vi = "nvim";
hl = "Hyprland";
clr = "clear";
noidle = "systemctl --user stop hypridle";
};
programs.bash = {
enable = true;
historyControl = ["ignoreboth"];
historyIgnore = [ "ls" "cd" "exit" ];
shellOptions = [ "cdspell" "autocd"];
};
}