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

    <stockholm/lass/2configs/retiolum.nix>
    <stockholm/lass/2configs/fetchWallpaper.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
  '';
}