diff options
-rw-r--r-- | hosts/nixpad/configuration.nix | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/hosts/nixpad/configuration.nix b/hosts/nixpad/configuration.nix index 7f7d58c..93f4e46 100644 --- a/hosts/nixpad/configuration.nix +++ b/hosts/nixpad/configuration.nix @@ -1,7 +1,6 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, @@ -52,6 +51,11 @@ services.xserver.displayManager.sddm.enable = true; services.xserver.desktopManager.plasma5.enable = true; + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + # Configure keymap in X11 services.xserver = { layout = "us"; @@ -73,8 +77,7 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; + 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) @@ -82,8 +85,11 @@ }; services.xserver.videoDrivers = ["intel"]; - hardware.opengl.driSupport32Bit = true; - + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + }; # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true; @@ -92,7 +98,7 @@ users.users.floppydisk = { isNormalUser = true; description = "Frankie B."; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = ["networkmanager" "wheel"]; packages = with pkgs; [ kate ]; @@ -118,8 +124,26 @@ # Fonts nerdfonts jetbrains-mono + + #other crap + rofi + wl-clipboard + dunst + ( + pkgs.waybar.overrideAttrs (oldAttrs: { + mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; + }) + ) ]; + environment.sessionVariables = { + WLR_NO_HARDWARE_CURSORS = "1"; + NIXOS_OZONE_WL = "1"; + }; + + xdg.portal.enable = true; + xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk]; + programs.zsh.enable = true; # Some programs need SUID wrappers, can be configured further or are @@ -148,5 +172,4 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "22.11"; # Did you read the comment? - } |