nix-conf/systems/tuny/default.nix

61 lines
1.3 KiB
Nix
Raw Normal View History

2023-09-08 14:36:39 +02:00
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
2023-12-29 16:43:40 +01:00
jopejoe1 = {
audio = {
enable = true;
};
bluetooth.enable = true;
local.enable = true;
jopejoe1.enable = true;
nix.enable = true;
root.enable = true;
};
2023-09-08 14:36:39 +02:00
networking.hostName = "tuny";
2023-09-08 14:41:01 +02:00
boot.loader.grub.device = "/dev/sda";
2023-09-08 14:36:39 +02:00
programs = {
git = {
enable = true;
lfs.enable = true;
};
};
users.users.musicp = {
isNormalUser = true;
description = "Music Player";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
];
};
environment.systemPackages = with pkgs; [
mixxx
];
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "musicp";
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
}