🚀 add howdy

This commit is contained in:
Moritz Böhme 2022-10-09 20:49:35 +02:00
parent 0e664ab358
commit 97f95b7a96
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
6 changed files with 127 additions and 30 deletions

View file

@ -25,7 +25,7 @@ with lib;
shell = {
abbreviations = {
us = "systemctl --user";
rs = "doas systemctl";
rs = "sudo systemctl";
};
aliases = {
ls = "exa -lh --icons --git";
@ -34,8 +34,8 @@ with lib;
rm = "rm -i";
mv = "mv -i";
nix-switch = "doas nixos-rebuild switch --flake ~/.dotfiles";
nix-boot = "doas nixos-rebuild boot --flake ~/.dotfiles";
nix-switch = "sudo nixos-rebuild switch --flake ~/.dotfiles";
nix-boot = "sudo nixos-rebuild boot --flake ~/.dotfiles";
nix-lock = "pushd ~/.dotfiles && nix flake update && popd";
latexwatch = ''find -type f -name "*.tex" | entr -c latexmk -pdf -silent'';
@ -110,6 +110,12 @@ with lib;
(builtins.attrValues config.fileSystems));
};
i18n.extraLocaleSettings = {
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
home-manager.users.moritz = {
programs = {
# Let Home Manager install and manage itself.
@ -120,12 +126,6 @@ with lib;
home = {
username = "moritz";
homeDirectory = "/home/moritz";
language = {
base = "en_US.UTF-8";
time = "de_DE.UTF-8";
numeric = "de_DE.UTF-8";
paper = "de_DE.UTF-8";
};
stateVersion = "21.05";
};
xdg.userDirs.enable = true;

View file

@ -97,6 +97,8 @@ with lib; {
};
};
programs.xss-lock.enable = true;
environment.systemPackages = with pkgs; [
# nix
nixpkgs-review