summaryrefslogtreecommitdiffstats
path: root/lass/1systems/morpheus/config.nix
blob: cab267d548b2b25d6a6d67d36f0635b66366f46b (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/power-action.nix>
    <stockholm/lass/2configs/baseX.nix>
    <stockholm/lass/2configs/games.nix>
    <stockholm/lass/2configs/steam.nix>
  ];

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

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

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

  nixpkgs.config.packageOverrides = super: {
    steam = super.steam.override {
      withPrimus = true;
      extraPkgs = p: with p; [
        glxinfo
        nettools
        bumblebee
      ];
    };
  };


  services.xserver.desktopManager.default = "none";
  services.xserver.displayManager.lightdm.autoLogin = {
    enable = true;
    user = "lass";
    timeout = 5;
  };
}