summaryrefslogtreecommitdiff
path: root/hosts/X230/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/X230/configuration.nix')
-rw-r--r--hosts/X230/configuration.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/hosts/X230/configuration.nix b/hosts/X230/configuration.nix
new file mode 100644
index 0000000..accbb1c
--- /dev/null
+++ b/hosts/X230/configuration.nix
@@ -0,0 +1,30 @@
+{ config, lib, pkgs, ... }: {
+ imports = [
+ ./hardware-configuration.nix
+ ../../nixos/archetypes/tjkeller
+ ];
+
+ # Setup bootloader
+ boot._loader.enable = true;
+
+ # Enable common options
+ _archetypes = {
+ # Use desktop profile
+ profiles.desktop.enable = true;
+ # Install software
+ collections = {
+ desktop = {
+ crypto.enable = true;
+ graphics.enable = true;
+ office.enable = true;
+ };
+ };
+ # Setup user
+ users.primary = {
+ enable = true;
+ autologin.enable = true;
+ };
+ };
+
+ system.stateVersion = "24.05";
+}