summaryrefslogtreecommitdiffstats
path: root/lass/1systems/skynet/config.nix
blob: 0bf3e6b4db15d511f62e3630d6f2f676f9a86a97 (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
38
39
40
41
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
  imports = [
    <stockholm/lass>

    <stockholm/lass/2configs/retiolum.nix>
    <stockholm/lass/2configs/blue-host.nix>
    <stockholm/lass/2configs/power-action.nix>
    <stockholm/lass/2configs/syncthing.nix>
    {
      services.xserver.enable = true;
      services.xserver.desktopManager.xfce.enable = true;

      users.users.discordius = {
        uid = genid "diskordius";
        isNormalUser = true;
        extraGroups = [
          "audio"
          "networkmanager"
        ];
      };
      environment.systemPackages = with pkgs; [
        google-chrome
      ];
      hardware.pulseaudio = {
        enable = true;
        systemWide = true;
      };
    }
  ];

  krebs.build.host = config.krebs.hosts.skynet;

  networking.wireless.enable = false;
  networking.networkmanager.enable = true;

  services.logind.extraConfig = ''
    HandleLidSwitch=ignore
  '';
}