Nove config lines to appropriate files

kde connect -> librewolf
flatpak config -> awesomewm
This commit is contained in:
GHOSCHT 2023-11-11 15:34:23 +01:00
parent a899f33fda
commit 8c0230acc3
2 changed files with 8 additions and 38 deletions

View file

@ -29,44 +29,6 @@ with lib; {
modules = [pkgs.xf86_input_wacom]; modules = [pkgs.xf86_input_wacom];
wacom.enable = true; wacom.enable = true;
windowManager.awesome.enable = true; windowManager.awesome.enable = true;
# deviceSection = ''
# Identifier "Device0"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BoardName "NVIDIA GeForce RTX 2070 SUPER"
# '';
# serverLayoutSection = ''
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "no"
# Option "ZAxisMapping" "4 5"
# '';
# monitorSection = ''
# Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Acer XF270HU"
# HorizSync 222.0 - 222.0
# VertRefresh 40.0 - 144.0
# Option "DPMS"
# '';
# screenSection = ''
# Identifier "Screen0"
# Device "Device0"
# Monitor "Monitor0"
# DefaultDepth 24
# Option "Stereo" "0"
# Option "nvidiaXineramaInfoOrder" "DFP-5"
# Option "metamodes" "DP-4: 2560x1440_144 +1920+0, DP-0: 1920x1080_75 +0+0"
# Option "SLI" "Off"
# Option "MultiGPU" "Off"
# Option "BaseMosaic" "off"
# SubSection "Display"
# Depth 24
# EndSubSection
# '';
}; };
}; };
@ -108,5 +70,11 @@ with lib; {
] ]
++ (with unstable; []); ++ (with unstable; []);
}; };
# Flatpak
xdg.portal.enable = true;
xdg.portal.extraPortals = with pkgs; [xdg-desktop-portal-kde];
# Networking
networking.networkmanager.enable = true;
}; };
} }

View file

@ -5,6 +5,8 @@
vars, vars,
... ...
}: { }: {
nixpkgs.config.librewolf.enablePlasmaBrowserIntegration = true;
home-manager.users.${vars.user} = { home-manager.users.${vars.user} = {
programs.librewolf = { programs.librewolf = {
enable = true; enable = true;