flammea: sway
This commit is contained in:
parent
ac7014a17f
commit
69a1962827
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
channels.nixpkgs.input = nixpkgs;
|
channels.nixpkgs.input = nixpkgs;
|
||||||
|
|
||||||
channels.nixpkgs.patches = [ ];
|
channels.nixpkgs.patches = [ ./gcr-wrapgapps.patch ];
|
||||||
|
|
||||||
nix.generateRegistryFromInputs = true;
|
nix.generateRegistryFromInputs = true;
|
||||||
|
|
||||||
|
20
flammea.nix
20
flammea.nix
@ -4,8 +4,8 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./common-headless.nix
|
./common-headless.nix
|
||||||
# ./sway.nix
|
./sway.nix
|
||||||
./i3.nix
|
# ./i3.nix
|
||||||
./large-sw.nix
|
./large-sw.nix
|
||||||
./uefi.nix
|
./uefi.nix
|
||||||
./fstrim.nix
|
./fstrim.nix
|
||||||
@ -78,7 +78,7 @@
|
|||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
|
|
||||||
virtualisation.virtualbox.host = {
|
virtualisation.virtualbox.host = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
# enableExtensionPack = true;
|
# enableExtensionPack = true;
|
||||||
};
|
};
|
||||||
# nixpkgs.config.allowUnfree = true;
|
# nixpkgs.config.allowUnfree = true;
|
||||||
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
hardware.opengl.extraPackages = with pkgs; [
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
rocm-opencl-icd
|
rocm-opencl-icd
|
||||||
# rocm-runtime-ext
|
rocm-runtime
|
||||||
];
|
];
|
||||||
|
|
||||||
# services.nix-serve = {
|
# services.nix-serve = {
|
||||||
@ -122,12 +122,12 @@
|
|||||||
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
|
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
|
||||||
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_5_8;
|
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_5_8;
|
||||||
|
|
||||||
services.xserver = {
|
# services.xserver = {
|
||||||
videoDrivers = [ "amdgpu" ];
|
# videoDrivers = [ "amdgpu" ];
|
||||||
deviceSection = ''
|
# deviceSection = ''
|
||||||
Option "TearFree" "on"
|
# Option "TearFree" "on"
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
|
|
||||||
services.ratbagd.enable = true;
|
services.ratbagd.enable = true;
|
||||||
|
|
||||||
|
42
gcr-wrapgapps.patch
Normal file
42
gcr-wrapgapps.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
commit d8d3deb8d91c01892f70e7e5ab7fdf182ab6d71d
|
||||||
|
Author: Gabriel Ebner <gebner@gebner.org>
|
||||||
|
Date: Sat Apr 2 12:59:35 2022 +0200
|
||||||
|
|
||||||
|
gcr: use wrapGAppsHook
|
||||||
|
|
||||||
|
The manual wrapProgram invocation missed binaries in libexec.
|
||||||
|
|
||||||
|
diff --git a/pkgs/development/libraries/gcr/default.nix b/pkgs/development/libraries/gcr/default.nix
|
||||||
|
index b277a52a658..6c1c3de08a2 100644
|
||||||
|
--- a/pkgs/development/libraries/gcr/default.nix
|
||||||
|
+++ b/pkgs/development/libraries/gcr/default.nix
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
, openssh
|
||||||
|
, systemd
|
||||||
|
, gobject-introspection
|
||||||
|
-, makeWrapper
|
||||||
|
+, wrapGAppsHook
|
||||||
|
, libxslt
|
||||||
|
, vala
|
||||||
|
, gnome
|
||||||
|
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||||
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
libxslt
|
||||||
|
- makeWrapper
|
||||||
|
+ wrapGAppsHook
|
||||||
|
vala
|
||||||
|
shared-mime-info
|
||||||
|
];
|
||||||
|
@@ -96,11 +96,6 @@ stdenv.mkDerivation rec {
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
- preFixup = ''
|
||||||
|
- wrapProgram "$out/bin/gcr-viewer" \
|
||||||
|
- --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||||
|
- '';
|
||||||
|
-
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome.updateScript {
|
||||||
|
packageName = pname;
|
6
sway.nix
6
sway.nix
@ -28,7 +28,7 @@
|
|||||||
desktop-file-utils shared-mime-info
|
desktop-file-utils shared-mime-info
|
||||||
glib gtk3
|
glib gtk3
|
||||||
glib-networking gvfs dconf
|
glib-networking gvfs dconf
|
||||||
gnome-themes-extra defaultIconTheme
|
gnome-themes-extra gnome3.adwaita-icon-theme
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
|
||||||
# for QT_QPA_PLATFORM=wayland
|
# for QT_QPA_PLATFORM=wayland
|
||||||
@ -46,6 +46,8 @@
|
|||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
wrapperFeatures.gtk = true;
|
||||||
|
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
|
||||||
@ -70,7 +72,7 @@
|
|||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
displayManager.lightdm.enable = true;
|
# displayManager.lightdm.enable = true;
|
||||||
displayManager.defaultSession = "sway";
|
displayManager.defaultSession = "sway";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user