From b8a5c62b112859f463a53ac97b43f7f8cdc544a9 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sun, 31 Dec 2023 15:08:06 +0300 Subject: uhm --- nixos/pc/configuration.nix | 40 ++++++++++++++++++++++++++++++++++++++++ nixos/pc/configuration.nix~ | 12 ++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 nixos/pc/configuration.nix create mode 100644 nixos/pc/configuration.nix~ (limited to 'nixos/pc') diff --git a/nixos/pc/configuration.nix b/nixos/pc/configuration.nix new file mode 100644 index 0000000..ef63c66 --- /dev/null +++ b/nixos/pc/configuration.nix @@ -0,0 +1,40 @@ +{ inputs, outputs, lib, config, pkgs, ... }: { + imports = [ + ../general.nix + inputs.home-manager.nixosModules.home-manager + ]; + + time.timeZone = "Europe/Yekaterinburg"; + networking.hostName = "ltrr"; + + services.xserver = { + enable = true; + displayManager.sddm.enable = true; + + # wm + windowManager.bspwm.enable = true; + + # Layout + layout = "us,ru"; + xkbOptions = "grp:win_space_toggle"; + }; + + # Printing + services = { + printing.enable = true; + printing.drivers = [ pkgs.hplipWithPlugin ]; + avahi = { + enable = true; + nssmdns = true; + openFirewall = true; + }; + }; + + home-manager = { + extraSpecialArgs = { inherit inputs outputs; }; + useGlobalPkgs = true; + useUserPackages = true; + users.jerpo = import ../home-manager/pc; + }; + +} diff --git a/nixos/pc/configuration.nix~ b/nixos/pc/configuration.nix~ new file mode 100644 index 0000000..b6fa0a7 --- /dev/null +++ b/nixos/pc/configuration.nix~ @@ -0,0 +1,12 @@ +{ inputs, outputs, lib, config, pkgs, ... }: { + imports = [ + ../general.nix + inputs.home-manager.nixosModules.home-manager + ]; + + time.timeZone = "Europe/Yekaterinburg"; + + services.xserver = { + enable = true; + }; +} -- cgit v1.2.3