65 lines
1.7 KiB
Nix
65 lines
1.7 KiB
Nix
{pkgs, ...}: {
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = false;
|
||
networking.hostName = "polymita-picta";
|
||
networking.networkmanager.enable = true;
|
||
|
||
# === Settings ===
|
||
settings.ssh.openOutsideVPN = true;
|
||
|
||
hardware.pulseaudio.enable = false;
|
||
|
||
services.xserver.enable = true;
|
||
services.xserver.desktopManager.plasma5.enable = true;
|
||
services.xserver.displayManager = {
|
||
lightdm.enable = true;
|
||
autoLogin = {
|
||
enable = true;
|
||
user = "malte";
|
||
};
|
||
};
|
||
|
||
services.openssh = {
|
||
enable = true;
|
||
settings.PasswordAuthentication = false;
|
||
settings.KbdInteractiveAuthentication = false;
|
||
};
|
||
|
||
programs.dconf.enable = true;
|
||
|
||
users = {
|
||
mutableUsers = false;
|
||
defaultUserShell = pkgs.fish;
|
||
custom.malte.enable = true;
|
||
custom.malte.steamDeck = true;
|
||
};
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
steam-rom-manager
|
||
];
|
||
|
||
security.sudo.extraRules = [
|
||
{
|
||
users = ["malte"];
|
||
commands = [
|
||
{
|
||
command = "ALL";
|
||
options = ["NOPASSWD"];
|
||
}
|
||
];
|
||
}
|
||
];
|
||
|
||
jovian.devices.steamdeck.enable = true;
|
||
jovian.steam.enable = true;
|
||
jovian.devices.steamdeck.enableVendorRadv = false;
|
||
|
||
# This value determines the NixOS release from which the default
|
||
# settings for stateful data, like file locations and database versions
|
||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||
# this value at the release version of the first install of this system.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "22.11"; # Did you read the comment?
|
||
}
|