Home Gen508 @ 2025-05-03-02:29 by jonas@comfy-station

This commit is contained in:
2025-05-03 02:29:05 +02:00
parent df3ab40b06
commit 0d5fad12ff
11 changed files with 188 additions and 182 deletions

View File

@@ -36,5 +36,7 @@
./home/swaync
./home/waybar
./home/wlogout
./home/wofi
./home/zsh
];
}

View File

@@ -1,89 +0,0 @@
{...}: {
programs.wofi.settings = {
location = "center";
allow_images = true;
allow_markup = true;
key_expand = "Tab";
key_up = "Ctrl-k";
key_down = "Ctrl-j";
key_left = "Ctrl-h";
key_right = "Ctrl-l";
insensitive = true;
};
programs.wofi.style = ''
#window {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background-color: rgba(0, 0, 0, 0.6);
}
#input {
margin: 5px;
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
color: white;
}
#input {
margin: 5px;
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
color: white;
}
#img {
background-color: transparent;
}
#inner-box {
background-color: transparent;
}
#outer-box {
margin: 2px;
padding: 10px;
background: transparent;
}
#scroll {
margin: 5px;
}
#text {
padding: 4px;
color: white;
background: transparent;
border: none;
}
#entry {
background: transparent;
border: none;
}
#entry:selected {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
}
#expander {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
}
'';
}

View File

@@ -1,6 +1,101 @@
{...}: {
imports = [
./config.nix
./wofi.nix
];
{
config,
lib,
...
}: let
cfg = config.hive.wofi;
in {
options.hive.wofi = {
enable = lib.mkEnableOption "Enable Wofi";
};
config = lib.mkIf cfg.enable {
programs.wofi.enable = true;
programs.wofi.settings = {
location = "center";
allow_images = true;
allow_markup = true;
key_expand = "Tab";
key_up = "Ctrl-k";
key_down = "Ctrl-j";
key_left = "Ctrl-h";
key_right = "Ctrl-l";
insensitive = true;
};
programs.wofi.style = ''
#window {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background-color: rgba(0, 0, 0, 0.6);
}
#input {
margin: 5px;
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
color: white;
}
#input {
margin: 5px;
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
color: white;
}
#img {
background-color: transparent;
}
#inner-box {
background-color: transparent;
}
#outer-box {
margin: 2px;
padding: 10px;
background: transparent;
}
#scroll {
margin: 5px;
}
#text {
padding: 4px;
color: white;
background: transparent;
border: none;
}
#entry {
background: transparent;
border: none;
}
#entry:selected {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
}
#expander {
border-radius: 15px;
border-color: #33ccff;
border-width: 2px;
border-style: solid;
background: transparent;
}
'';
};
}

View File

@@ -1,3 +0,0 @@
{...}: {
programs.wofi.enable = true;
}

View File

@@ -1,6 +1,82 @@
{...}: {
imports = [
./tools.nix
./zsh.nix
];
{
config,
lib,
pkgs,
...
}: let
cfg = config.hive.zsh;
omz_custom = "${config.home.homeDirectory}/.config/omz_custom";
in {
options.hive.zsh = {
enable = lib.mkEnableOption "Enable Zsh";
};
config = lib.mkIf cfg.enable {
home.file."${omz_custom}" = {
source = ./static/omz_custom;
recursive = true;
};
# direnv
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
# fancy ls command
programs.lsd = {
enable = true;
enableAliases = true;
};
# Zsh
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
history.size = 10000;
history.path = "${config.xdg.dataHome}/zsh/history";
oh-my-zsh = {
enable = true;
plugins = [
"docker"
"docker-compose"
"fzf"
"git"
"pass"
"poetry"
"python"
"rust"
"thefuck"
];
theme = "my_bureau";
custom = omz_custom;
};
};
home.packages = with pkgs; [
bat
fzf
git
htop
killall
neofetch
nh
nix-search-cli
nix-tree
nixpkgs-fmt
pass
ranger
thefuck
unstable.mmtui
unzip
vim
w3m
wget
yt-dlp
zip
];
};
}

View File

@@ -1,23 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
bat
fzf
git
htop
killall
neofetch
nix-search-cli
nix-tree
nixpkgs-fmt
pass
ranger
thefuck
unstable.mmtui
unzip
vim
w3m
wget
yt-dlp
zip
];
}

View File

@@ -1,47 +0,0 @@
{config, ...}: let
omz_custom = "${config.home.homeDirectory}/.config/omz_custom";
in {
home.file."${omz_custom}" = {
source = ./static/omz_custom;
recursive = true;
};
# direnv
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
# fancy ls command
programs.lsd = {
enable = true;
enableAliases = true;
};
# Zsh
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
history.size = 10000;
history.path = "${config.xdg.dataHome}/zsh/history";
oh-my-zsh = {
enable = true;
plugins = [
"docker"
"docker-compose"
"fzf"
"git"
"pass"
"poetry"
"python"
"rust"
"thefuck"
];
theme = "my_bureau";
custom = omz_custom;
};
};
}