mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
58 lines
1.8 KiB
Nix
58 lines
1.8 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, username, inputs, ... }:
|
||
|
||
{
|
||
imports = [ ];
|
||
environment.sessionVariables = {
|
||
WLR_NO_HARDWARE_CURSORS = "1";
|
||
};
|
||
#services.xserver.enable = true;
|
||
#services.xserver.displayManager.gdm = {
|
||
# enable = true;
|
||
#};
|
||
programs.hyprland.enable = true;
|
||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||
programs.hyprland.xwayland.enable = true;
|
||
# programs.hyprland.enableNvidiaPatches = true;
|
||
home-manager.users.${username}.imports = [
|
||
./home-manager.nix
|
||
];
|
||
|
||
environment.systemPackages = [
|
||
pkgs.gtk3
|
||
];
|
||
|
||
hardware.opengl = {
|
||
enable = true;
|
||
driSupport = true;
|
||
#extraPackages = with pkgs; [
|
||
# vaapiVdpau
|
||
# libvdpau-va-gl
|
||
#];
|
||
};
|
||
|
||
boot.initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.loader.grub.device = "nodev";
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/f222513b-ded1-49fa-b591-20ce86a2fe7f";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||
# still possible to use this option, but it's recommended to use it in conjunction
|
||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||
networking.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
virtualisation.virtualbox.guest.enable = true;
|
||
}
|