Skip to content

Commit

Permalink
fix pi tbm module
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoette committed Oct 8, 2024
1 parent ba7bb82 commit 60d536b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions machines/lamabus/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,20 @@ in {
];


systemd.services.carla = {
wantedBy = [ "jack.service" ];
systemd.user.services.carla = {
wantedBy = [ "default.target" "graphical-session.target" ];
environment.DISPLAY = ":0";
environment.WAYLAND_DISPLAY = "wayland-0";
environment.DEBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/1000/bus";
environment.QT_QPA_PLATFORM = "wayland";
environment.XDG_RUNTIME_DIR = "/run/user/1000";
after = [ "jack.service" ];
serviceConfig = {
User = "lasse";
Type = "oneshot";
# User = "lasse";
Type = "exec";
#WorkingDirectory = "/home/lasse";
ExecStart = ''
${pkgs.carla}/bin/carla
${pkgs.carla}/bin/carla ~/.carla/default.carxp
'';
};
};
Expand Down
2 changes: 2 additions & 0 deletions machines/lamaoutpost/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
wget
];

boot.initrd.systemd.enableTpm2 = false;

nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
system.stateVersion = "22.05";

Expand Down

0 comments on commit 60d536b

Please sign in to comment.