headless Merge branch 'tmp'

This commit is contained in:
Lilith 2024-07-14 22:35:16 +02:00
commit 3d7f627d3b
Signed by: lilith
GPG key ID: 8712A0F317C37175
5 changed files with 20 additions and 11 deletions

View file

@ -7,6 +7,8 @@
./rofi.nix
./dunst.nix
./stylix.nix
./env.nix
./alacritty.nix
./clipman.nix

14
home/env.nix Normal file
View file

@ -0,0 +1,14 @@
{conf, config, pkgs, ...}: {
home = {
file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/${conf.user}/sync/inbox";
shellAliases = {
cat = "bat -p";
"." = "source";
ls = "${pkgs.eza}/bin/eza -g --git --group-directories-first";
ll = "${pkgs.eza}/bin/eza -l";
la = "${pkgs.eza}/bin/eza -la";
grep = "grep --color=auto";
};
};
}

View file

@ -31,11 +31,13 @@
htop
ollama
zoom-us
];
gaming = with pkgs; [
prismlauncher
lutris
steamtinkerlaunch
];
in
common ++ (lib.optionals system-config.gaming.enable gaming);

View file

@ -21,6 +21,7 @@
".local/share/PrismLauncher"
".local/share/Steam"
".local/share/lutris"
".local/share/games"
];
files = [];
};

View file

@ -1,13 +1,4 @@
{pkgs, ...}: let
aliases = {
"." = "source";
ls = "EXA_COLORS='xx=2;37' ${pkgs.eza}/bin/eza -g --git --group-directories-first";
l = "ls -aal";
atree = "ls -alT";
tree = "ls -lT";
grep = "grep --color=auto";
};
in {
{pkgs, ...}: {
programs.zsh = {
enable = true;
autosuggestion.enable = true;
@ -34,6 +25,5 @@ in {
zstyle ':completion:*' menu select
'';
shellAliases = aliases;
};
}