summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-18 18:45:57 -0600
committerTim Keller <tjkeller.xyz>2025-01-18 18:45:57 -0600
commit67adf5929167a527a172ec5c85ccd335fc54cc68 (patch)
treebf71878f47814d4794e8dfa424994bc750482e1c /modules
parent3ec73bd138b551eedffcf0a059020174aac1b11d (diff)
downloadnixos-67adf5929167a527a172ec5c85ccd335fc54cc68.tar.xz
nixos-67adf5929167a527a172ec5c85ccd335fc54cc68.zip
add libreX60 config. remove alacritty. add options for fontHEADmaster
Diffstat (limited to 'modules')
-rw-r--r--modules/home/theme.nix19
-rw-r--r--modules/hosts/libreX60/configuration.nix14
-rw-r--r--modules/hosts/libreX60/home.nix8
-rw-r--r--modules/root/software/desktop.nix3
4 files changed, 38 insertions, 6 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix
index 4128e1d..3bc1d8e 100644
--- a/modules/home/theme.nix
+++ b/modules/home/theme.nix
@@ -29,6 +29,18 @@ in {
description = "mint-y icons color eg. 'Aqua' or 'Red'";
};
};
+ theme.font = {
+ sansSerif = lib.mkOption {
+ type = lib.types.str;
+ default = "Inter";
+ description = "default sans serif font";
+ };
+ sansSerif = lib.mkOption {
+ type = lib.types.str;
+ default = "CommitMono";
+ description = "default monospace font";
+ };
+ };
};
config = {
@@ -43,8 +55,7 @@ in {
name = transformColorValue config.theme.mint.icons.color;
};
font = {
- package = pkgs.inter;
- name = "Inter";
+ name = config.theme.font.sansSerif;
};
cursorTheme = {
name = "Adwaita";
@@ -64,8 +75,8 @@ in {
platformTheme.name = "gtk3";
};
fonts.fontconfig.defaultFonts = {
- sansSerif = [ "Inter" ];
- monospace = [ "CommitMono" ];
+ sansSerif = [ config.theme.fonts.sansSerif ];
+ monospace = [ config.theme.fonts.monospace ];
};
};
}
diff --git a/modules/hosts/libreX60/configuration.nix b/modules/hosts/libreX60/configuration.nix
new file mode 100644
index 0000000..942793d
--- /dev/null
+++ b/modules/hosts/libreX60/configuration.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, ... }: {
+ imports = [ ./hardware-configuration.nix ];
+ networking.hostName = "libreX60";
+
+ # Enable extra software pkgs
+ software.desktop = {
+ office.enable = true;
+ };
+
+ # Enable network drives
+ nas.enable = true;
+
+ system.stateVersion = "24.11";
+}
diff --git a/modules/hosts/libreX60/home.nix b/modules/hosts/libreX60/home.nix
new file mode 100644
index 0000000..453bfd6
--- /dev/null
+++ b/modules/hosts/libreX60/home.nix
@@ -0,0 +1,8 @@
+{ ... }: {
+ imports = [ ../../home ];
+
+ theme.mint.theme.color = "Dark-Red";
+ theme.mint.icons.color = "Red";
+ theme.font.sansSerif = "Tamzen";
+ theme.font.monospace = "Tamzen";
+}
diff --git a/modules/root/software/desktop.nix b/modules/root/software/desktop.nix
index 3f6cfae..88101d8 100644
--- a/modules/root/software/desktop.nix
+++ b/modules/root/software/desktop.nix
@@ -22,10 +22,8 @@
config = lib.mkIf config.software.desktop.enable {
environment.systemPackages = with pkgs; [
# Default
- alacritty
arandr
dmenu
- jellyfin-mpv-shim
libnotify
mpv
pavucontrol
@@ -62,6 +60,7 @@
thunderbird
] ++ pkgs.lib.optionals config.software.desktop.utilities.enable [
# Misc Utilities
+ jellyfin-mpv-shim
qbittorrent
qdirstat
remmina