nixvim!
This commit is contained in:
parent
cee77dd6af
commit
a1562df146
47 changed files with 2430 additions and 108 deletions
|
@ -1,18 +1,17 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.wms.wayland.hyprland;
|
||||
username = config.modules.other.system.username;
|
||||
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
|
||||
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
|
||||
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system})
|
||||
foot wl-clipboard swww wlsunset;
|
||||
foot swww wlsunset;
|
||||
inherit (inputs.waybar.packages.${pkgs.system}) waybar;
|
||||
inherit (inputs.split-monitor-workspaces.packages.${pkgs.system})
|
||||
split-monitor-workspaces;
|
||||
in {
|
||||
options.modules.wms.wayland.hyprland.enable = mkEnableOption "hyprland";
|
||||
config = mkIf cfg.enable {
|
||||
options.modules.wms.wayland.hyprland.enable = lib.mkEnableOption "hyprland";
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# xdg Portal
|
||||
xdg.portal = {
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.wms.wayland;
|
||||
hyprland = config.modules.wms.wayland.hyprland;
|
||||
in {
|
||||
options.modules.wms.wayland.enable = mkEnableOption "wayland";
|
||||
options.modules.wms.wayland.enable = lib.mkEnableOption "wayland";
|
||||
# options.modules.wms.wayland.hyprland.enable = mkEnableOption "hyprland";
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
# lib.mkMerge [
|
||||
# {
|
||||
environment.variables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
__GL_GSYNC_ALLOWED = "0";
|
||||
__GL_VRR_ALLOWED = "0";
|
||||
# _JAVA_AWT_WM_NONEREPARENTING = "1";
|
||||
# _JAVA_AWT_WM_NONEREPARENTING = "1";
|
||||
# SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh";
|
||||
DISABLE_QT5_COMPAT = "0";
|
||||
GDK_BACKEND = "wayland,x11";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue