mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-20 19:58:47 +02: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 = {
|
shellAliases = {
|
||||||
sv="sudo vim";
|
sv="sudo nvim";
|
||||||
flake-rebuild="sudo nixos-rebuild switch --flake ${flakeDir}";
|
flake-rebuild="sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||||
flake-update="sudo nix flake update ${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";
|
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];
|
extraBackends = [pkgs.sane-airscan];
|
||||||
disabledDefaultBackends = ["escl"];
|
disabledDefaultBackends = ["escl"];
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ system-config-printer ];
|
programs.system-config-printer.enable = true;
|
||||||
users.users.${username}.extraGroups = ["scanner" "lp"];
|
users.users.${username}.extraGroups = ["scanner" "lp"];
|
||||||
}
|
}
|
||||||
|
@ -43,9 +43,11 @@ in {
|
|||||||
nfsMountPoint = "/mnt/nas";
|
nfsMountPoint = "/mnt/nas";
|
||||||
nfsDevice = "nas:/volume1/nas";
|
nfsDevice = "nas:/volume1/nas";
|
||||||
|
|
||||||
# Printer, NTP, HWClock Settings
|
# NTP & HWClock Settings
|
||||||
localHWClock = false;
|
|
||||||
ntp = true;
|
ntp = true;
|
||||||
|
localHWClock = false;
|
||||||
|
|
||||||
|
# Enable Printer & Scanner Support
|
||||||
printer = false;
|
printer = false;
|
||||||
|
|
||||||
# Enable Flatpak & Larger Programs
|
# Enable Flatpak & Larger Programs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user