diff --git a/configuration.nix b/configuration.nix deleted file mode 100644 index 4e9f6f8..0000000 --- a/configuration.nix +++ /dev/null @@ -1,42 +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 - - security.sudo.package = pkgs.sudo.override {withInsults = true;}; ## errou sudo xingando -} 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