mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
Fix sv bash alias and improve printer functionality
This commit is contained in:
parent
90f5c7b379
commit
6049d117d5
@ -21,7 +21,7 @@ lib.mkIf (theShell == "bash") {
|
||||
|
||||
};
|
||||
shellAliases = {
|
||||
sv="sudo vim";
|
||||
sv="sudo nvim";
|
||||
flake-rebuild="sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
flake-update="sudo nix flake update ${flakeDir}";
|
||||
gcCleanup="nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
|
@ -16,6 +16,6 @@ lib.mkIf (printer == true) {
|
||||
extraBackends = [pkgs.sane-airscan];
|
||||
disabledDefaultBackends = ["escl"];
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ system-config-printer ];
|
||||
programs.system-config-printer.enable = true;
|
||||
users.users.${username}.extraGroups = ["scanner" "lp"];
|
||||
}
|
||||
|
@ -43,9 +43,11 @@ in {
|
||||
nfsMountPoint = "/mnt/nas";
|
||||
nfsDevice = "nas:/volume1/nas";
|
||||
|
||||
# Printer, NTP, HWClock Settings
|
||||
localHWClock = false;
|
||||
# NTP & HWClock Settings
|
||||
ntp = true;
|
||||
localHWClock = false;
|
||||
|
||||
# Enable Printer & Scanner Support
|
||||
printer = false;
|
||||
|
||||
# Enable Flatpak & Larger Programs
|
||||
|
Loading…
Reference in New Issue
Block a user