summaryrefslogtreecommitdiffstats
path: root/lass/1systems/uriel/config.nix
blob: b50dc63f5977d8f16327b87b7cd16edb3432e612 (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
42
43
44
45
46
{ config, pkgs, ... }:

with builtins;
with import <stockholm/lib>;
{
  imports = [
    <stockholm/lass>
    <stockholm/lass/2configs/retiolum.nix>
    <stockholm/lass/2configs/exim-retiolum.nix>
    {
      # locke config
      i18n.defaultLocale ="de_DE.UTF-8";
      time.timeZone = "Europe/Berlin";
      services.xserver.enable = true;
      services.xserver.libinput.enable = false;
      users.users.locke = {
        uid = genid "locke";
        home = "/home/locke";
        group = "users";
        createHome = true;
        extraGroups = [
          "audio"
          "networkmanager"
        ];
        useDefaultShell = true;
      };
      networking.networkmanager.enable = true;
      hardware.pulseaudio = {
        enable = true;
        systemWide = true;
      };
      environment.systemPackages = with pkgs; [
        pavucontrol
        firefox
        hexchat
        networkmanagerapplet
      ];
      services.xserver.desktopManager.xfce = {
        enable = true;
      };
    }
  ];

  krebs.build.host = config.krebs.hosts.uriel;
  nixpkgs.config.allowUnfree = true;
}