diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/kunagisa/configuration.nix | 23 | ||||
-rw-r--r-- | hosts/kunagisa/hardware-configuration.nix | 7 |
2 files changed, 6 insertions, 24 deletions
diff --git a/hosts/kunagisa/configuration.nix b/hosts/kunagisa/configuration.nix index b9b669a..9965d92 100644 --- a/hosts/kunagisa/configuration.nix +++ b/hosts/kunagisa/configuration.nix @@ -16,22 +16,17 @@ boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; networking.hostName = "kunagisa"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - # Enable networking networking.networkmanager.enable = true; - # Set your time zone. time.timeZone = "America/Sao_Paulo"; - # Select internationalisation properties. i18n.defaultLocale = "pt_BR.UTF-8"; - # Enable the X11 windowing system. services.xserver = { enable = true; xkb = { @@ -40,14 +35,10 @@ }; }; - # Configure console keymap console.keyMap = "br-abnt2"; - # Enable CUPS to print documents. services.printing.enable = true; - # Enable sound with pipewire. - sound.enable = true; hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { @@ -55,22 +46,8 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; }; - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; networking.firewall = { enable = false; # allowedTCPPorts = [ 12345 ]; diff --git a/hosts/kunagisa/hardware-configuration.nix b/hosts/kunagisa/hardware-configuration.nix index 6e353af..f98cb38 100644 --- a/hosts/kunagisa/hardware-configuration.nix +++ b/hosts/kunagisa/hardware-configuration.nix @@ -9,8 +9,13 @@ ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; + boot.kernelPackages = pkgs.linuxPackages_latest; + # boot.kernelParams = [ + # "video=HDMI-1:1920x1080@60" + # "video=DP-2:2560x1080@75" + # ]; boot.extraModulePackages = [ ]; fileSystems."/" = |