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