Modernization

This commit is contained in:
Daniel Ziltener 2024-07-02 19:45:10 +02:00
parent 26428d27b5
commit 2c00610f61
Signed by: zilti
GPG key ID: B38976E82C9DAE42

215
home.nix
View file

@ -5,16 +5,10 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
home.homeDirectory = "/home/zilti"; home.homeDirectory = "/home/zilti";
home.packages = with pkgs; [ home.packages = with pkgs; [
SDL2
appimage-run appimage-run
babashka
binutils binutils
bitwarden bitwarden
brightnessctl brightnessctl
chicken
clj-kondo
clojure
clojure-lsp
coreutils-full coreutils-full
discord discord
edwood edwood
@ -38,9 +32,11 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
lagrange lagrange
libffi libffi
libgccjit libgccjit
libsForQt5.dolphin kdePackages.plasma-desktop
libsForQt5.ksshaskpass kdePackages.plasma-workspace
libsForQt5.okular kdePackages.dolphin
kdePackages.ksshaskpass
kdePackages.okular
libuuid libuuid
lm_sensors lm_sensors
gnumake gnumake
@ -48,45 +44,34 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
nerdfonts nerdfonts
nil nil
nixfmt nixfmt
nodejs_20 # nwg-displays
nwg-displays
openstackclient
pciutils pciutils
perl538Packages.DigestHMAC # perl538Packages.DigestHMAC
perl538Packages.FileLibMagic # perl538Packages.FileLibMagic
perl538Packages.IOSocketINET6 # perl538Packages.IOSocketINET6
perl538Packages.IOSocketSSL # perl538Packages.IOSocketSSL
perl538Packages.MIMELite # perl538Packages.MIMELite
perl538Packages.TermReadKey # perl538Packages.TermReadKey
pharo pharo
pijul pijul
pinentry-qt pinentry-qt
pixman pixman
plan9port plan9port
podman-compose
qt6.full
pwvucontrol pwvucontrol
qtpass
senpai senpai
signal-desktop signal-desktop
slack
slurp slurp
space-cadet-pinball space-cadet-pinball
sqlite sqlite
stow stow
swappy swappy
swayfx
sysstat sysstat
telegram-desktop telegram-desktop
tofi
ungoogled-chromium ungoogled-chromium
unzip unzip
usbutils usbutils
vlc vlc
wlr-randr wlr-randr
zig
zls
zoom-us
]; ];
imports = [ ./hyprland/hyprland.nix imports = [ ./hyprland/hyprland.nix
@ -262,21 +247,21 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
programs.starship = let flavour = "frappe"; # programs.starship = let flavour = "frappe";
in { # in {
enable = true; # enable = true;
settings = { # settings = {
aws.disabled = true; # aws.disabled = true;
gcloud.disabled = true; # gcloud.disabled = true;
format = "$all"; # format = "$all";
palette = "catppuccin_${flavour}"; # palette = "catppuccin_${flavour}";
} // builtins.fromTOML (builtins.readFile (pkgs.fetchFromGitHub { # } // builtins.fromTOML (builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin"; # owner = "catppuccin";
repo = "starship"; # repo = "starship";
rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f"; # rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f";
sha256 = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0="; # sha256 = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
} + /palettes/${flavour}.toml)); # } + /palettes/${flavour}.toml));
}; # };
programs.hstr = { enable = true; }; programs.hstr = { enable = true; };
@ -351,14 +336,14 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
settings = { SD_EDITOR = "vim"; }; settings = { SD_EDITOR = "vim"; };
}; };
programs.keychain = { # programs.keychain = {
enable = true; # enable = true;
enableBashIntegration = true; # enableBashIntegration = true;
enableXsessionIntegration = true; # enableXsessionIntegration = true;
agents = [ "ssh" "gpg" ]; # agents = [ "ssh" "gpg" ];
keys = # keys =
[ "id_rsa" "personal_ed" "37F655BAF43BC0FF300A91A1B38976E82C9DAE42" ]; # [ "id_rsa" "personal_ed" "37F655BAF43BC0FF300A91A1B38976E82C9DAE42" ];
}; # };
programs.password-store = { programs.password-store = {
enable = true; enable = true;
@ -425,77 +410,77 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
startInBackground = true; startInBackground = true;
}; };
programs.swaylock = { # programs.swaylock = {
enable = true; # enable = true;
package = "${pkgs.swaylock-effects}"; # package = "${pkgs.swaylock-effects}";
settings = { # settings = {
screenshots = true; # screenshots = true;
clock = true; # clock = true;
indicator-idle-visible = true; # indicator-idle-visible = true;
grace = 3; # grace = 3;
fade-in = 3; # fade-in = 3;
effect-blur = "7x5"; # effect-blur = "7x5";
effect-vignette = "0.5:0.5"; # effect-vignette = "0.5:0.5";
}; # };
}; # };
services.swayidle = { # services.swayidle = {
enable = true; # enable = true;
events = [ ]; # events = [ ];
timeouts = [{ # timeouts = [{
timeout = 600; # timeout = 600;
command = "${pkgs.swaylock-effects}/bin/swaylock"; # command = "${pkgs.swaylock-effects}/bin/swaylock";
}]; # }];
}; # };
services.mako = { # services.mako = {
enable = true; # enable = true;
defaultTimeout = 5000; # defaultTimeout = 5000;
}; # };
services.gammastep = { # services.gammastep = {
enable = true; # enable = true;
provider = "geoclue2"; # provider = "geoclue2";
temperature = { # temperature = {
day = 5500; # day = 5500;
night = 2700; # night = 2700;
}; # };
}; # };
programs.wlogout = { enable = true; }; # programs.wlogout = { enable = true; };
programs.fuzzel = { # programs.fuzzel = {
enable = true; # enable = true;
settings = { # settings = {
main = { # main = {
terminal = "${pkgs.kitty}/bin/kitty"; # terminal = "${pkgs.kitty}/bin/kitty";
width = 100; # width = 100;
fields = "filename,name,generic,exec"; # fields = "filename,name,generic,exec";
show-actions = true; # show-actions = true;
filter-desktop = false; # filter-desktop = false;
layer = "overlay"; # layer = "overlay";
}; # };
}; # };
}; # };
home.file.tofi-conf = { # home.file.tofi-conf = {
enable = true; # enable = true;
target = ".config/tofi/config"; # target = ".config/tofi/config";
text = '' # text = ''
drun-launch = true # drun-launch = true
font = Victor Mono Nerd Font # font = Victor Mono Nerd Font
font-size = 12 # font-size = 12
text-cursor = true # text-cursor = true
terminal = kitty # terminal = kitty
width = 1200 # width = 1200
height = 720 # height = 720
'' + (builtins.readFile (pkgs.fetchFromGitHub { # '' + (builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin"; # owner = "catppuccin";
repo = "tofi"; # repo = "tofi";
rev = "2e74ddba0c582b2ca2d9d06f67f5a902c3a093fb"; # rev = "2e74ddba0c582b2ca2d9d06f67f5a902c3a093fb";
sha256 = "sha256-XUwixvy2WyfaSRHM8cTnOn8lKv+vbhheDA1Z47ap+Mc="; # sha256 = "sha256-XUwixvy2WyfaSRHM8cTnOn8lKv+vbhheDA1Z47ap+Mc=";
} + /catppuccin-latte)); # } + /catppuccin-latte));
}; # };
# qt = { # qt = {
# enable = true; # enable = true;