aboutsummaryrefslogtreecommitdiff
path: root/nixos/pc/configuration.nix
blob: 76a4a27668cba3eae9811a13a1bfd1f7ae275675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ pkgs, ... }: {
  imports = [
    ../general.nix
    ./hardware-configuration.nix
    ../nixosModules/printing.nix
    ../nixosModules/greetd.nix
 ];

  time.timeZone = "Asia/Yekaterinburg";
  networking.hostName = "ltrr";

  printing.enable = true;

  programs.adb.enable = true;
  services.udev.packages = [
    pkgs.android-udev-rules
  ];

  services.xserver = {
    enable = true;
    displayManager.startx.enable = true;
  };

  services.openssh.enable = true;
  security.polkit = {
    enable = true;
  };
  environment.systemPackages = with pkgs; [
    lxqt.lxqt-policykit
  ];

  greetd.command = "startx";

  system.stateVersion = "24.11";
}