summaryrefslogtreecommitdiff
path: root/hosts/thyme
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-05-09 17:54:45 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-05-09 17:54:45 -0500
commit4ea08b3976188eb01a74548d68b227a7794b4caa (patch)
tree505c0df98ed00ed592be15895b8ed3eb7aa9e2c3 /hosts/thyme
downloadnixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.tar.gz
nixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.zip
Add current configuration
Diffstat (limited to 'hosts/thyme')
-rw-r--r--hosts/thyme/default.nix41
-rw-r--r--hosts/thyme/hardware.nix41
-rw-r--r--hosts/thyme/packages.nix51
3 files changed, 133 insertions, 0 deletions
diff --git a/hosts/thyme/default.nix b/hosts/thyme/default.nix
new file mode 100644
index 0000000..adc65e7
--- /dev/null
+++ b/hosts/thyme/default.nix
@@ -0,0 +1,41 @@
+{ pkgs, ... }:
+
+{
+ imports = [
+ ./hardware.nix
+ ./packages.nix
+ ];
+
+ this.pc.enable = true;
+ this.laptop.enable = true;
+ this.gui.enable = true;
+
+ networking.domain = "alef.zoar.cx";
+
+ this.locales = {
+ default = "us";
+ extra = ["it" "jp"];
+ dictionaries.extra = ["grc" "la"];
+ };
+
+ boot.loader.grub.enable = true;
+ boot.loader.grub.device = "nodev";
+
+ time.timeZone = "America/Chicago";
+
+ this.users.enabled = ["simon"];
+
+ fonts.fontconfig.defaultFonts = {
+ serif = [];
+ sansSerif = [];
+ monospace = [];
+ emoji = [];
+ };
+
+ this.hosts = {
+ lan.home = true;
+ mine = true;
+ };
+
+ system.stateVersion = "24.11";
+}
diff --git a/hosts/thyme/hardware.nix b/hosts/thyme/hardware.nix
new file mode 100644
index 0000000..50956c6
--- /dev/null
+++ b/hosts/thyme/hardware.nix
@@ -0,0 +1,41 @@
+{ pkgs, ... }:
+
+let swapPart = "/dev/sda5";
+in
+{
+ boot.initrd.availableKernelModules = [];
+ boot.initrd.kernelModules = [];
+ boot.kernelModules = [
+ "kvm-intel"
+ "uinput" # work around rules bug
+ ];
+ boot.extraModulePackages = [];
+ boot.resumeDevice = swapPart;
+
+ fileSystems."/" = {
+ device = "/dev/sda1";
+ fsType = "ext4";
+ };
+
+ fileSystems."/home" = {
+ device = "/dev/sda6";
+ fsType = "ext4";
+ };
+
+ swapDevices = [
+ { device = swapPart; }
+ ];
+
+ hardware.enableAllFirmware = false;
+
+ this.overlays.g45_h264.enable = true;
+ hardware.graphics.extraPackages = [pkgs.intel-vaapi-driver];
+ services.xserver.videoDrivers = ["intel"];
+
+ hardware.firmware = with pkgs; [
+ alsa-firmware
+ ath9k-htc-blobless-firmware
+ ];
+
+ nixpkgs.hostPlatform = "x86_64-linux";
+}
diff --git a/hosts/thyme/packages.nix b/hosts/thyme/packages.nix
new file mode 100644
index 0000000..13fc13e
--- /dev/null
+++ b/hosts/thyme/packages.nix
@@ -0,0 +1,51 @@
+{ pkgs, ... }:
+
+{
+ this.sets = {
+ arch.tools = true;
+ cli.tools.full = true;
+ cli.shell = true;
+ comm.im = true;
+ de.utils = true;
+ gui.full = true;
+ gui.theme = true;
+ gui.fonts = true;
+ image.utils = true;
+ image.tools = true;
+ manga.dl = true;
+ media.tools = true;
+ net.tools.full = true;
+ script.utils = true;
+ sound.tools = true;
+ sys.tools = true;
+ writing.tools = true;
+ };
+
+ environment.systemPackages = with pkgs; [
+ emacs
+ emacsPackages.pdf-tools
+ jre
+ ruby
+ sbcl
+ python3
+ rclone
+ keymapper
+ nethack
+ sil-q
+ notmuch
+ emacsPackages.notmuch
+ mu
+ emacsPackages.mu4e
+ isync
+ ppsspp
+ wesnoth
+ ];
+
+ programs.firefox = {
+ enable = true;
+ package = pkgs.firefox-esr;
+ nativeMessagingHosts.packages = with pkgs; [
+ passff-host
+ ];
+ };
+}