update and use stable nixos version

This commit is contained in:
2024-12-31 21:15:08 +01:00
parent 3b6111236f
commit 60fb8169a3
6 changed files with 96 additions and 20 deletions

31
home.nix Normal file
View File

@@ -0,0 +1,31 @@
{ pkgs, username, ... }:
{
home.stateVersion = "24.11";
programs.fish =
let
eza = "${pkgs.eza}/bin/eza --color=always --group-directories-first";
coreutils = "${pkgs.coreutils}/bin";
in
{
enable = true;
interactiveShellInit = ''
#disable greeting
set fish_greeting
#fixes gnupg password entry
export GPG_TTY=(${coreutils}/tty)
#pfetch on shell start (disable pkgs because of execution time)
PF_INFO="ascii title os host kernel uptime memory editor wm" ${pkgs.pfetch-rs}/bin/pfetch
'';
shellAliases = {
# from DistroTube's dot files: Changing "ls" to "eza"
ls = "${eza} -al";
la = "${eza} -a";
ll = "${eza} -l";
lt = "${eza} -aT";
};
};
}