ugly but works?
This commit is contained in:
parent
9c1b7e349d
commit
c4a846066c
2 changed files with 12 additions and 5 deletions
|
@ -1,6 +1,12 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
# Ugly workaround xwl-satellite crashes and prusa not being wayland-native
|
||||
prusa-wrapper = pkgs.makeDesktopItem {
|
||||
name = "prusa-wrapper";
|
||||
desktopName = "Prusa";
|
||||
exec = "${pkgs.xwayland-run}/bin/xwayland-run -- i3";
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
./firefox.nix
|
||||
|
@ -21,10 +27,15 @@ in {
|
|||
nautilus
|
||||
libreoffice-qt6-fresh
|
||||
inkscape
|
||||
prusa-slicer
|
||||
prusa-wrapper
|
||||
# freecad -- broken dependency
|
||||
];
|
||||
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
config.startup = [{ command = "${pkgs.prusa-slicer}/bin/prusa-slicer"; }];
|
||||
};
|
||||
|
||||
home.file = {
|
||||
".config/vesktop/settings.json" = {
|
||||
source = ./vesktop.conf.json;
|
||||
|
|
|
@ -92,10 +92,6 @@ in {
|
|||
|
||||
hotkey-overlay.skip-at-startup = true;
|
||||
|
||||
environment = {
|
||||
"DISPLAY" = ":0";
|
||||
};
|
||||
|
||||
spawn-at-startup = [
|
||||
{ command = [ "waybar" ]; }
|
||||
{ command = [ "swayidle" "-w" "before-sleep" "swaylock" ]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue