nix-gscheits/machines/party/configuration.nix
2022-11-04 22:43:39 +00:00

45 lines
783 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./services
];
nixpkgs.config = { allowAliases = false; };
console.keyMap = "de";
services.xserver.layout = "de";
services.xserver.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.gdm = {
enable = true;
autoSuspend = false;
};
security.sudo.wheelNeedsPassword = false;
users.users.party = {
isNormalUser = true;
password = "foobar";
extraGroups = [
"wheel"
"audio"
];
};
environment.systemPackages = with pkgs; [
firefox
mpv
pavucontrol
];
networking.firewall.enable = false;
services.openssh.enable = true;
networking.hostName = "party";
system.stateVersion = "21.11";
}