# Edet this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, lib, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration-custom.nix ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "posixlycorrect"; # Define your hostname. networking.networkmanager.enable = true; # Set your time zone. time.timeZone = "America/Costa_Rica"; # The global useDHCP flag is deprecated, therefore explicitly set to false here. # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; networking.interfaces.enp7s0.useDHCP = true; networking.interfaces.wlp6s0.useDHCP = true; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; keyMap = "us"; }; # Enable the X11 windowing system. services.xserver.enable = true; # quitar luego # Enable the Plasma 5 Desktop Environment. services.xserver.displayManager.sddm.enable = true; # quitar luego services.xserver.desktopManager.plasma5.enable = true; # quitar luego # Configure keymap in X11 services.xserver.layout = "us"; # Enable sound. sound.enable = true; hardware.pulseaudio.enable = true; services.xserver.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. # quitar esto users.users.host = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. }; users.users.temp = { isNormalUser = true; extraGroups = [ "wheel" ]; }; nixpkgs.config.allowUnfree = true; users.users.temp.packages = with pkgs; [ firefox jetbrains.pycharm-professional neovim git tdesktop python310 gcc discord xournalpp zoom-us jq zip unzip signal-desktop verilog vscodium pipenv runelite calc units vlc file btrfs-progs ]; nix = { package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; }; services.openssh.enable = true; # NO TOCAR ESTO system.stateVersion = "21.11"; # Did you read the comment? }