Format project using nixfmt rfc candidate.
This commit is contained in:
parent
1f63817684
commit
a9f7fe416f
91 changed files with 1347 additions and 1000 deletions
|
@ -5,20 +5,24 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
mkIf (elem "desktop::i3" config.machine.services) {
|
||||
services.xserver = {
|
||||
mkIf (elem "desktop::i3" config.machine.services) {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
configFile = import ../../config/etc/i3/config.nix {inherit pkgs;};
|
||||
extraPackages = with pkgs; [
|
||||
dmenu
|
||||
file
|
||||
i3lock
|
||||
i3status
|
||||
xdg-user-dirs
|
||||
];
|
||||
};
|
||||
configFile = import ../../config/etc/i3/config.nix { inherit pkgs; };
|
||||
extraPackages = with pkgs; [
|
||||
dmenu
|
||||
file
|
||||
i3lock
|
||||
i3status
|
||||
xdg-user-dirs
|
||||
];
|
||||
};
|
||||
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [py3status pytz tzlocal];
|
||||
}
|
||||
};
|
||||
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
|
||||
py3status
|
||||
pytz
|
||||
tzlocal
|
||||
];
|
||||
}
|
||||
|
|
|
@ -5,47 +5,47 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
mkIf (elem "desktop::sway" config.machine.services) {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
package = pkgs.sway.override {
|
||||
enableXWayland = true;
|
||||
};
|
||||
extraPackages = with pkgs; [
|
||||
file
|
||||
gnome.adwaita-icon-theme
|
||||
grim
|
||||
gsettings-desktop-schemas
|
||||
gtk3
|
||||
i3status
|
||||
kanagawa
|
||||
light
|
||||
mako
|
||||
qt5.qtwayland
|
||||
rofi-wayland
|
||||
slurp
|
||||
swayidle
|
||||
swaylock
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
];
|
||||
wrapperFeatures = {
|
||||
base = true;
|
||||
gtk = true;
|
||||
};
|
||||
extraSessionCommands = ''
|
||||
export GDK_BACKEND=wayland
|
||||
export CLUTTER_BACKEND=wayland
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
# needs qt5.qtwayland in systemPackages
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export QT_WAYLAND_FORCE_DPI=physical
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
# Fix for some Java AWT applications (e.g. Android Studio),
|
||||
# use this if they aren't displayed properly:
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
# Chromium (based) applications
|
||||
export NIXOS_OZONE_WL=1
|
||||
'';
|
||||
mkIf (elem "desktop::sway" config.machine.services) {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
package = pkgs.sway.override {
|
||||
enableXWayland = true;
|
||||
};
|
||||
}
|
||||
extraPackages = with pkgs; [
|
||||
file
|
||||
gnome.adwaita-icon-theme
|
||||
grim
|
||||
gsettings-desktop-schemas
|
||||
gtk3
|
||||
i3status
|
||||
kanagawa
|
||||
light
|
||||
mako
|
||||
qt5.qtwayland
|
||||
rofi-wayland
|
||||
slurp
|
||||
swayidle
|
||||
swaylock
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
];
|
||||
wrapperFeatures = {
|
||||
base = true;
|
||||
gtk = true;
|
||||
};
|
||||
extraSessionCommands = ''
|
||||
export GDK_BACKEND=wayland
|
||||
export CLUTTER_BACKEND=wayland
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
# needs qt5.qtwayland in systemPackages
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export QT_WAYLAND_FORCE_DPI=physical
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
# Fix for some Java AWT applications (e.g. Android Studio),
|
||||
# use this if they aren't displayed properly:
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
# Chromium (based) applications
|
||||
export NIXOS_OZONE_WL=1
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue