diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
commit | 4e970f7cc35d2747af0baa6fca9df5abc18bee43 (patch) | |
tree | 4d1b5b1550d487c246cc90e7b0b735989958f6b5 /hosts/bean/common.nix | |
parent | fdd799bf06c5d40cb8a3e8292ee76bff265765f9 (diff) | |
download | nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.tar.gz nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.zip |
hosts: Rename ades/* to bean/*
Diffstat (limited to 'hosts/bean/common.nix')
-rw-r--r-- | hosts/bean/common.nix | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/hosts/bean/common.nix b/hosts/bean/common.nix new file mode 100644 index 0000000..5d4bde3 --- /dev/null +++ b/hosts/bean/common.nix @@ -0,0 +1,83 @@ +{ 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; + }; + 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 + ]; + + programs.firefox = { + enable = true; + package = pkgs.firefox-esr; + } // + 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; + }; + + system.stateVersion = "24.11"; +} |