mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Added printer setup
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
../../modules/nixos/nixUtils.nix
|
||||
../../hostsModules/laptop/nixos/udev.nix
|
||||
../../hostsModules/laptop/nixos/disk.nix
|
||||
../../modules/nixos/printer.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -50,6 +51,9 @@
|
||||
extraSpecialArgs = {inherit inputs pkgs-unstable;};
|
||||
};
|
||||
|
||||
services.dbus.enable = true;
|
||||
security.polkit.enable = true;
|
||||
|
||||
environment.pathsToLink = [
|
||||
"/share/applications"
|
||||
"/share/xdg-desktop-portal"
|
||||
@@ -120,8 +124,6 @@
|
||||
# Configure console keymap
|
||||
console.keyMap = "fr_CH";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
@@ -156,7 +158,7 @@
|
||||
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true; # Nonfree packages: Obsidian
|
||||
nixpkgs.config.allowUnfree = true; # Nonfree packages: hplipWithPlugin
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
|
||||
Reference in New Issue
Block a user