aboutsummaryrefslogtreecommitdiff
path: root/nixos/pc/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/pc/configuration.nix')
-rw-r--r--nixos/pc/configuration.nix25
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;
}
+
+