This commit is contained in:
Daniel Ziltener 2024-10-04 02:31:25 +02:00
parent bcc51bc93b
commit fd506c76c5
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 214 additions and 142 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ hardware-configuration.nix
*~
flake.lock

102
home.nix
View file

@ -1,4 +1,10 @@
args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
args@{
config,
pkgs,
split-monitor-workspaces,
nix-flatpak,
...
}:
{
home.username = "zilti";
@ -93,16 +99,21 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
wlr-randr
];
imports = [ ./hyprland/hyprland.nix
imports = [
./hyprland/hyprland.nix
./waybar/settings.nix
./emacs/emacs.nix
# ./chicken/chicken.nix
./kodi/kodi.nix
];
home.stateVersion = "24.05";
programs.home-manager.enable = true;
home.sessionPath = [ "${config.home.homeDirectory}/.config/emacs/bin" "${config.home.homeDirectory}/.local/bin" ];
home.sessionPath = [
"${config.home.homeDirectory}/.config/emacs/bin"
"${config.home.homeDirectory}/.local/bin"
];
home.sessionVariables = {
#PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.local/share/password-store";
@ -189,8 +200,12 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
enable = true;
};
};
thunderbird = { enable = true; };
aerc = { enable = true; };
thunderbird = {
enable = true;
};
aerc = {
enable = true;
};
};
bevuta = {
realName = "Daniel Ziltener";
@ -211,8 +226,12 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
enable = true;
};
};
thunderbird = { enable = true; };
aerc = { enable = true; };
thunderbird = {
enable = true;
};
aerc = {
enable = true;
};
};
};
};
@ -246,8 +265,14 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
};
};
remotes = [
{ name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo"; }
{ name = "flathub-beta"; location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo"; }
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
{
name = "flathub-beta";
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
packages = [
"com.github.tchx84.Flatseal"
@ -285,7 +310,9 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
kitty_mod = "ctrl+shift";
enabled_layouts = "horizontal";
};
keybindings = { "kitty_mod+enter" = "new_window"; };
keybindings = {
"kitty_mod+enter" = "new_window";
};
font = {
name = "VictorMono Nerd Font Mono";
size = 10;
@ -319,11 +346,17 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
nix-direnv.enable = true;
};
programs.hstr = { enable = true; };
programs.hstr = {
enable = true;
};
programs.htop = { enable = true; };
programs.htop = {
enable = true;
};
programs.ripgrep = { enable = true; };
programs.ripgrep = {
enable = true;
};
home.file.".config/senpai/senpai.scfg" = {
enable = true;
@ -384,7 +417,9 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
key = "37F655BAF43BC0FF300A91A1B38976E82C9DAE42";
signByDefault = true;
};
diff-so-fancy = { enable = true; };
diff-so-fancy = {
enable = true;
};
extraConfig = {
sendemail = {
annotate = true;
@ -414,12 +449,16 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
settings = { };
};
programs.tealdeer = { enable = true; };
programs.tealdeer = {
enable = true;
};
# https://github.com/ianthehenry/sd
programs.script-directory = {
enable = true;
settings = { SD_EDITOR = "vim"; };
settings = {
SD_EDITOR = "vim";
};
};
programs.password-store = {
@ -427,19 +466,27 @@ args@{ config, pkgs, split-monitor-workspaces, nix-flatpak, ... }:
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
};
programs.browserpass = { enable = true; };
programs.browserpass = {
enable = true;
};
services.pueue = { enable = true; };
services.pueue = {
enable = true;
};
services.network-manager-applet.enable = true;
services.batsignal = { enable = true; };
services.batsignal = {
enable = true;
};
# services.fusuma = {
# enable = true;
# };
services.copyq = { enable = true; };
services.copyq = {
enable = true;
};
# programs.vdirsyncer = {
# enable = true;
@ -525,7 +572,7 @@ programs.hyprlock = {
path = "screenshot";
blur_passes = 2;
blur_size = 8;
noise = 0.0117;
noise = 1.17e-2;
contrast = 0.8916;
brightness = 0.8172;
vibrancy = 0.1696;
@ -620,7 +667,6 @@ services.hyprpaper = {
# };
# };
services.swaync = {
enable = true;
# https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json
@ -629,7 +675,9 @@ services.hyprpaper = {
};
};
programs.wlogout = { enable = true; };
programs.wlogout = {
enable = true;
};
programs.fuzzel = {
enable = true;
@ -655,11 +703,15 @@ services.hyprpaper = {
programs.firefox = {
enable = true;
profiles.default = { isDefault = true; };
profiles.default = {
isDefault = true;
};
};
programs.thunderbird = {
enable = true;
profiles.default = { isDefault = true; };
profiles.default = {
isDefault = true;
};
};
}

19
kodi/kodi.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
(kodi.passthru.withPackages (
kodiPkgs: with kodiPkgs; [
certifi
controller-topology-project
inputstream-adaptive
invidious
keymap
mediathekview
sendtokodi
sponsorblock
youtube
]
))
];
}