From 8d0d1f4b2c02b4ab811813c4ba2b7e0a6c10d84a Mon Sep 17 00:00:00 2001 From: spl3g Date: Tue, 9 Jul 2024 16:30:51 +0500 Subject: add hardware-configuration for pc --- nixos/pc/configuration.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'nixos/pc/configuration.nix') diff --git a/nixos/pc/configuration.nix b/nixos/pc/configuration.nix index 3b9d327..5d15f41 100644 --- a/nixos/pc/configuration.nix +++ b/nixos/pc/configuration.nix @@ -1,20 +1,21 @@ -{ inputs, outputs, pkgs, ... }: { +{ inputs, outputs, lib, config, pkgs, ... }: { imports = [ ../general.nix - inputs.home-manager.nixosModules.home-manager - ]; + ./hardware-configuration.nix + ../nixosModules/printing.nix + ]; time.timeZone = "Asia/Yekaterinburg"; networking.hostName = "ltrr"; - # Printing - services = { - printing.enable = true; - printing.drivers = [ pkgs.hplipWithPlugin ]; - avahi = { - enable = true; - nssmdns = true; - openFirewall = true; - }; + printing.enable = true; + + services.xserver = { + enable = true; + displayManager.startx.enable = true; }; + + services.openssh.enable = true; } + + -- cgit v1.2.3