summaryrefslogtreecommitdiff
path: root/hosts/piframe/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/piframe/configuration.nix')
-rw-r--r--hosts/piframe/configuration.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/hosts/piframe/configuration.nix b/hosts/piframe/configuration.nix
index 5195de1..a78313b 100644
--- a/hosts/piframe/configuration.nix
+++ b/hosts/piframe/configuration.nix
@@ -1,16 +1,16 @@
{ 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;
-
_archetypes = {
- # Use headless profile
+ # Use headless and pi profiles
profiles.headless = {
enable = true;
home.users.timmy.enable = true;
home.users.piframe.enable = true;
};
+ profiles.pi = {
+ enable = true;
+ home.users.timmy.enable = true;
+ home.users.piframe.enable = true;
+ };
collections = {
desktop.xserver.enable = true;
};
@@ -36,7 +36,6 @@
# Enable piframe user
users.users.piframe = {
isNormalUser = true;
- #extraGroups = [ "video" ];
};
# Configure automatic login with getty