This commit is contained in:
Tristan 2023-05-03 16:11:50 +01:00
parent 3c20b72515
commit 5140dec6bc
6 changed files with 64 additions and 26 deletions

8
lib/mkapp.nix Normal file
View file

@ -0,0 +1,8 @@
name: { pkgs, app-id, browser, desktopName, ... }:
pkgs.makeDesktopItem {
name = "${name}";
desktopName = "${desktopName}";
exec = "${browser} --app-id=${app-id} --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer";
icon = "brave-${app-id}-Profile_2";
}

View file

@ -19,8 +19,8 @@ nixpkgs.lib.nixosSystem rec {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.${user}.imports = [
../system/global/home.nix
../system/${name}/home.nix
../system/global/home.nix
hyprland.homeManagerModules.default
];
}