summaryrefslogtreecommitdiff
path: root/hosts/sweetiepc/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sweetiepc/configuration.nix')
-rw-r--r--hosts/sweetiepc/configuration.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/hosts/sweetiepc/configuration.nix b/hosts/sweetiepc/configuration.nix
new file mode 100644
index 0000000..7bf5fcb
--- /dev/null
+++ b/hosts/sweetiepc/configuration.nix
@@ -0,0 +1,51 @@
+{ config, lib, pkgs, home-manager, ... }: {
+ #imports = [ ./wg.nix ];
+
+ # Setup bootloader
+ boot._loader = {
+ enable = true;
+ loader = "grub";
+ };
+
+ # Enable common options
+ _archetypes = {
+ profiles = {
+ desktop = {
+ enable = true;
+ home.users.timmy.enable = true;
+ };
+ zfs.enable = true;
+ btrfs.enable = true;
+ gnome.enable = true;
+ };
+ collections = {
+ desktop = {
+ office.enable = true;
+ };
+ };
+ };
+
+ # Import zfs pools
+ boot.zfs.extraPools = [ "geminus" "quattuor" ];
+
+ # Enable user timmy
+ _users.timmy = {
+ enable = true;
+ };
+
+ # Disable suspend
+ systemd._suspend.disable = true;
+
+ # Configure home
+ home-manager.users.timmy = {
+ fonts.fontconfig = {
+ subpixelRendering = "rgb";
+ hinting = "none";
+ };
+ };
+
+ # Without this, "ZFS requires networking.hostId to be set" will be raised
+ networking.hostId = "fdde503a";
+
+ system.stateVersion = "26.05";
+}