From 6a3740c239ef6c781afc169eaf9e1392dbc5ce6e Mon Sep 17 00:00:00 2001 From: DarkGui Date: Tue, 23 Sep 2025 15:12:35 -0300 Subject: [PATCH] teste --- configuration.nix | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) mode change 100644 => 120000 configuration.nix diff --git a/configuration.nix b/configuration.nix deleted file mode 100644 index 1fa2d02..0000000 --- a/configuration.nix +++ /dev/null @@ -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 -} diff --git a/configuration.nix b/configuration.nix new file mode 120000 index 0000000..faf36fd --- /dev/null +++ b/configuration.nix @@ -0,0 +1 @@ +/etc/nixos/configuration.nix \ No newline at end of file