This commit is contained in:
Morten Olsen
2023-09-12 08:28:05 +02:00
commit 6a41699dc3
69 changed files with 2040 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{ config, pkgs, ... }:
{
imports = [
./environment.nix
];
environment.systemPackages = [
pkgs.hyprland
pkgs.eww
pkgs.wofi
pkgs.swaylock-effects
pkgs.swayidle
];
fonts = {
packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
ubuntu_font_family
];
enableDefaultPackages = true;
fontconfig = {
defaultFonts = {
serif = [ "Ubuntu" ];
sansSerif = [ "Ubuntu" ];
monospace = [ "Ubuntu" ];
};
};
fontDir.enable = true;
};
}

View File

@@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
home = {
sessionVariables = {
EDITOR = "nvim";
BROWSER = "firefox";
TERMINAL = "kitty";
#GBM_BACKEND= "nvidia-drm";
#__GLX_VENDOR_LIBRARY_NAME= "nvidia";
#LIBVA_DRIVER_NAME= "nvidia"; # hardware acceleration
__GL_VRR_ALLOWED="1";
WLR_NO_HARDWARE_CURSORS = "1";
WLR_RENDERER_ALLOW_SOFTWARE = "1";
CLUTTER_BACKEND = "wayland";
WLR_RENDERER = "vulkan";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";
};
};
}