From 9ff124c8029f505ebfdc79ec53a233ed5228123f Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 6 Dec 2025 18:38:44 -0600 Subject: piframe init --- hosts/piframe/configuration.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 hosts/piframe/configuration.nix (limited to 'hosts/piframe/configuration.nix') 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"; +} -- cgit v1.2.3