mirror of
https://github.com/iesfdlr/lab.git
synced 2026-06-06 01:16:49 +00:00
47 lines
977 B
Nix
47 lines
977 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# nixos version
|
|
system.stateVersion = "25.05";
|
|
|
|
# bootloader config stuff
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# networking
|
|
# networking.hostName = "nixos";
|
|
networking.networkmanager.enable = true;
|
|
|
|
# timezone
|
|
time.timeZone = "Europe/Madrid";
|
|
|
|
# xfce, x11...
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.lightdm.enable = true;
|
|
services.xserver.desktopManager.xfce.enable = true;
|
|
|
|
# spanish keyboard layout
|
|
services.xserver.xkb.layout = "es";
|
|
|
|
services.pipewire.enable = true;
|
|
|
|
# user configuration
|
|
users.users.usuario = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "networkmanager" ];
|
|
password = "usuario";
|
|
};
|
|
users.users.root.initialPassword = "toor";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
firefox
|
|
git
|
|
vim
|
|
python3
|
|
vscode
|
|
chromium
|
|
];
|
|
|
|
# sudo configuration
|
|
security.sudo.wheelNeedsPassword = true;
|
|
} |