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.nix40
1 files changed, 40 insertions, 0 deletions
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;
+ };
+
+}