parent
e649eb98bf
commit
944e5d7911
|
@ -84,20 +84,22 @@ in
|
||||||
services.avahi.openFirewall = true;
|
services.avahi.openFirewall = true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
# Enable sound with pipewire.
|
||||||
|
sound.enable = true;
|
||||||
|
hardware.pulseaudio.enable = true;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
# services.pipewire = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
alsa.enable = true;
|
# alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
# alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
# pulse.enable = true;
|
||||||
};
|
# # If you want to use JACK applications, uncomment this
|
||||||
|
# #jack.enable = true;
|
||||||
services.cron = {
|
#
|
||||||
enable = true;
|
# # use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
systemCronJobs = [
|
# # no need to redefine it in your config for now)
|
||||||
"0 18 * * 5 ${pkgs.bash}/bin/bash -c 'rm -rf /home/${username}/Downloads/*'"
|
# #media-session.enable = true;
|
||||||
];
|
# };
|
||||||
};
|
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
@ -105,7 +107,7 @@ in
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Oliver Davies";
|
description = "Oliver Davies";
|
||||||
extraGroups = [ "docker" "networkmanager" "wheel" "audio" ];
|
extraGroups = [ "docker" "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [ ];
|
packages = with pkgs; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -367,18 +367,6 @@ in
|
||||||
ialias build-configs="~/Code/Personal/build-configs/bin/build-configs run"
|
ialias build-configs="~/Code/Personal/build-configs/bin/build-configs run"
|
||||||
ialias update-build-configs="~/Code/Personal/build-configs-updater/update.sh"
|
ialias update-build-configs="~/Code/Personal/build-configs-updater/update.sh"
|
||||||
|
|
||||||
alias -g A1="| awk '{print \$1}'"
|
|
||||||
alias -g Fj='| jq .'
|
|
||||||
alias -g Fy='| yq .'
|
|
||||||
alias -g G='| grep'
|
|
||||||
alias -g GH='| grep HTTP'
|
|
||||||
alias -g Gi='| grep -i'
|
|
||||||
alias -g H2='| head -n 20'
|
|
||||||
alias -g H='| head'
|
|
||||||
alias -g L='| less'
|
|
||||||
alias -g V='| vim -'
|
|
||||||
alias -g X='| xargs -I1'
|
|
||||||
|
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
setopt auto_pushd
|
setopt auto_pushd
|
||||||
setopt pushd_ignore_dups
|
setopt pushd_ignore_dups
|
||||||
|
|
Loading…
Reference in a new issue