diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-07-09 16:30:51 +0500 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:56 +0300 |
| commit | 8d0d1f4b2c02b4ab811813c4ba2b7e0a6c10d84a (patch) | |
| tree | 105200c505413747527fa3f9d858165b473e74fb /nixos/pc/configuration.nix | |
| parent | 9187c75de4c8e7ebda0cbf344bb2b88121c53a05 (diff) | |
add hardware-configuration for pc
Diffstat (limited to 'nixos/pc/configuration.nix')
| -rw-r--r-- | nixos/pc/configuration.nix | 25 |
1 files changed, 13 insertions, 12 deletions
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; } + + |
