summaryrefslogtreecommitdiff
path: root/hosts/bean/common.nix
blob: 92a9e4de885e9aa67c646b002c8c4f442709561c (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{ inputs, lib, pkgs, ... }:

let
  blender-bin = inputs.blender-bin.
    packages.x86_64-linux;
in
{
  imports = [
    ./hardware.nix
  ];

  this.pc.enable = true;
  this.gui.enable = true;

  this.locales.default = "us";

  time.timeZone = "America/Chicago";

  networking.domain = "bean.alef.zoar.cx";

  this.sets = {
    arch.tools = true;
    cli.tools.full = true;
    gui.tools.full = true;
    gui.fonts = true;
    net.tools.minimal = true;
    sound.tools = true;
    sys.tools = true;
    www.browser = true;
  };
  environment.systemPackages = with pkgs; [
    emacs
    awesome
    jre
    rxvt-unicode
    nethack
    sil-q
    ppsspp
    wesnoth
    luanti
    gzdoom
    teeworlds
    superTuxKart
    mindustry
    shattered-pixel-dungeon
    bzflag
    xonotic-glx
    mgba
    taisei
    unvanquished
    adwaita-icon-theme
    arc-theme
    arc-icon-theme
    blender-bin.blender_3_6
    zeroad
    shipwright
    _2ship2harkinian
    azahar
    dolphin-emu
  ];

  this.unfree.allowed = [
    "shipwright"
    "2ship2harkinian"
  ];

  programs.firefox = import ./firefox-prefs.nix {};

  services.xserver.enable = true;
  environment.etc = {
    "X11/xinit/xinitrc" = {
      source = ./xinitrc;
      mode = "755";
    };
    "X11/Xresources".source = ./Xresources;
    "xdg/awesome/rc.lua".source = ./awesome.lua;
    "xdg/gtk-3.0/settings.ini".source = ./gtkrc-3.ini;
  };

  services.joycond.enable = true;

  boot.binfmt.emulatedSystems = [ "aarch64-linux" ];

  this.hosts = {
    mine = true;
    lan = true;
    yggdrasil.public = true;
    yggdrasil.private = true;
  };

  system.stateVersion = "24.11";
}