Compare commits

...

2 commits

Author SHA1 Message Date
31dd9b6546
add zsh-nix-shell 2024-04-14 12:11:29 -04:00
7fb888c693
change to tuigreet 2024-04-14 12:07:47 -04:00
3 changed files with 20 additions and 24 deletions

View file

@ -53,8 +53,15 @@
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = false;
services.xserver.desktopManager.plasma5.enable = false;
services.greetd.enable = true;
programs.regreet.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --asterisks --cmd Hyprland";
user = "greeter";
};
};
};
services.xrdp.enable = false;
services.xrdp.defaultWindowManager = "startplasma-x11";
virtualisation.docker = {
@ -209,25 +216,6 @@
# "--unsupported-gpu"
# ];
#};
environment.etc."greetd/regreet.toml".text = lib.mkForce ''[background]
path = "/home/insert/Documents/cat-background/background.png"
fit = "Fill"
[GTK]
# Whether to use the dark theme
application_prefer_dark_theme = true
# Cursor theme name
#cursor_theme_name = "Adwaita"
# Font name and size
font_name = "Monocraft 20"
# Icon theme name
icon_theme_name = "Breeze Dark"
# GTK theme name
#theme_name = "Adwaita"
'';
services.earlyoom = {
enable = true;

View file

@ -378,7 +378,7 @@ $mainMod = ALT
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty zsh
bind = $mainMod, C, killactive,
#bind = $mainMod, M, exit,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, kitty nnn
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun --allow-images

View file

@ -160,9 +160,17 @@
'';
plugins = [
{name = "powerlevel10k";src = pkgs.zsh-powerlevel10k;file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}
];
syntaxHighlighting.enable = true;
historySubstringSearch.enable = true;