This commit is contained in:
DarkGui
2025-09-23 15:12:35 -03:00
parent 3da376d532
commit 6a3740c239
-40
View File
@@ -1,40 +0,0 @@
{ config, lib, inputs, pkgs, ... }:
{
imports =
[ # Importa a configuração de hardware detectada
./hardware-configuration.nix
./imp.nix
];
## Configuração do bootloader
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
boot.kernelPackages = pkgs.linuxPackages_cachyos; # Kernel customizado
#boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_cachyos-gcc;
#boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "Alfa"; # Defina o nome da sua máquina
services = {
xserver.enable = false; # Ativar sistema gráfico X11
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "gui";
};
## Definição do usuário normal
users.users.gui = {
isNormalUser = true;
description = "Gui";
extraGroups = [ "networkmanager" "wheel"];
packages = with pkgs; [
kdePackages.kate
kdePackages.kcalc
];
};
system.stateVersion = "25.05"; # versao do nix
}
+1
View File
@@ -0,0 +1 @@
/etc/nixos/configuration.nix