summaryrefslogtreecommitdiff
path: root/hosts/piframe/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-12-09 22:29:31 -0600
committerTim Keller <tjk@tjkeller.xyz>2025-12-09 22:29:31 -0600
commit4484d67427d620c0cf3e85897c6fc84b4898939a (patch)
treee4bb76c1d4a87f4049b3c045263f8fc424f6e7b8 /hosts/piframe/configuration.nix
parent6d6a802a5fe7257718e2a748692fb17889b500db (diff)
parent3a9347935a837a59bfe874f85b12c18e5fd697f9 (diff)
downloadnixos-master.tar.xz
nixos-master.zip
Merge branch 'piframe'HEADmaster
Diffstat (limited to 'hosts/piframe/configuration.nix')
-rw-r--r--hosts/piframe/configuration.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/hosts/piframe/configuration.nix b/hosts/piframe/configuration.nix
new file mode 100644
index 0000000..1572512
--- /dev/null
+++ b/hosts/piframe/configuration.nix
@@ -0,0 +1,34 @@
+{ config, lib, pkgs, ... }: {
+ # Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
+ boot.loader.grub.enable = false;
+ # Enables the generation of /boot/extlinux/extlinux.conf
+ boot.loader.generic-extlinux-compatible.enable = true;
+
+ # xserver
+ services.xserver = {
+ enable = true;
+ enableTearFree = true;
+ };
+
+ # Enable user timmy
+ _users.timmy = {
+ enable = true;
+ autologin.enable = true;
+ wifi.enable = true;
+ };
+
+ # Configure home
+ home-manager.users.timmy = {
+ home.file.".xinitrc" = {
+ text = ''
+ #!/bin/sh
+ exec pix.py
+ ''
+ };
+ programs.zsh.profileExtra = ''
+ startx
+ '';
+ };
+
+ system.stateVersion = "25.11";
+}