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