many changes this one forgot

This commit is contained in:
Lucy Hochkamp 2025-04-04 18:42:10 +02:00
parent 67c2117563
commit 44307a3f6f
No known key found for this signature in database
22 changed files with 1081 additions and 437 deletions

View file

@ -16,28 +16,46 @@ in
security.sudo.enable = false;
nix.settings = {
trusted-users = lib.mkDefault [ "root" "@wheel" ];
allowed-users = lib.mkDefault [ "root" "@wheel" ];
auto-optimise-store = true;
trusted-users = lib.mkDefault [
"root"
"@wheel"
];
allowed-users = lib.mkDefault [
"root"
"@wheel"
];
auto-optimise-store = true;
};
nix.extraOptions = "experimental-features = nix-command flakes";
programs.nh.enable = true;
programs.direnv = {
enable = true;
nix-direnv.enable = true;
enableFishIntegration = true;
};
# https://github.com/NixOS/nixpkgs/issues/361592 needed for run0
security.pam.services.systemd-run0 = {};
# https://github.com/NixOS/nixpkgs/issues/361592 needed for run0
security.pam.services.systemd-run0 = { };
programs.tmux.enable = true;
programs.yazi = {
enable = true;
};
environment.systemPackages = with pkgs; [
jq
fd
bottom
htop
imagemagick
bat
ffmpeg
poppler
w3m
curl
aria2
fzf
file
git
neofetch
@ -45,6 +63,9 @@ security.pam.services.systemd-run0 = {};
pv
yt-dlp
helix
lm_sensors
dig
(pkgs.writeShellScriptBin "sudo" "run0 $@")
];
programs.mosh.enable = true;
environment.variables.EDITOR = "hx";
@ -52,6 +73,7 @@ security.pam.services.systemd-run0 = {};
environment.shellAliases = {
l = "ls -al";
n = "yazi";
gc = "git commit -v";
gpl = "git pull";
gd = "git diff";