Revert "xivlauncher: iinact borderless"

This reverts commit 8039eacfb9.
This commit is contained in:
Zynh Ludwig 2024-08-11 05:20:50 -07:00
parent 8039eacfb9
commit 5c3b923653
3 changed files with 4 additions and 80 deletions

View file

@ -20,27 +20,6 @@
"url": "https://git.zynh.me/Zynh0722/backgrounds" "url": "https://git.zynh.me/Zynh0722/backgrounds"
} }
}, },
"borderless-browser": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1697838514,
"narHash": "sha256-PWZCkx2+/86e1Jc6Myk/U3UbHZULypo+WPqJHmPPbH8=",
"owner": "lucasew",
"repo": "borderless-browser.nix",
"rev": "bcca59662b8d0cbbc6dd93321d8d65e3eb547d47",
"type": "github"
},
"original": {
"owner": "lucasew",
"repo": "borderless-browser.nix",
"type": "github"
}
},
"dunst-theme": { "dunst-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -147,24 +126,6 @@
"type": "indirect" "type": "indirect"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-hooks": { "git-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
@ -347,7 +308,6 @@
"root": { "root": {
"inputs": { "inputs": {
"backgrounds": "backgrounds", "backgrounds": "backgrounds",
"borderless-browser": "borderless-browser",
"dunst-theme": "dunst-theme", "dunst-theme": "dunst-theme",
"fish_theme": "fish_theme", "fish_theme": "fish_theme",
"home-manager": "home-manager", "home-manager": "home-manager",
@ -377,21 +337,6 @@
"repo": "sops-nix", "repo": "sops-nix",
"type": "github" "type": "github"
} }
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -35,11 +35,6 @@
}; };
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone"; repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
borderless-browser = {
url = "github:lucasew/borderless-browser.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =

View file

@ -1,40 +1,24 @@
{ config, lib, pkgs, inputs, ... }: { config, lib, pkgs, ... }:
let let
cfg = config.snowhawk.xivlauncher; cfg = config.snowhawk.xivlauncher;
in in
{ {
imports = [
inputs.borderless-browser.homeModules
];
options.snowhawk.xivlauncher = { options.snowhawk.xivlauncher = {
enable = lib.mkEnableOption "xivlauncher home-manager module"; enable = lib.mkEnableOption "xivlauncher home-manager module";
textools.enable = lib.mkEnableOption "TexTools wine application"; textools.enable = lib.mkEnableOption "TexTools wine application";
iinact.enable = lib.mkEnableOption "iinact borderless-browser";
}; };
config = config =
let launchffxiv = "${pkgs.xivlauncher}/bin/XIVLauncher.Core"; let launchffxiv = "${pkgs.xivlauncher}/bin/XIVLauncher.Core";
in lib.mkIf cfg.enable { in lib.mkIf cfg.enable {
borderless-browser = {
chromium = pkgs.brave;
apps = {
iinact = {
desktopName = "IINACT";
url = "http://proxy.iinact.com/overlay/skyline/?OVERLAY_WS=ws://127.0.0.1:10501/ws";
};
};
};
home.packages = with pkgs; [ home.packages = with pkgs; [
xivlauncher xivlauncher
# (writeShellScriptBin "iinact" '' (writeShellScriptBin "iinact" ''
# ${pkgs.brave}/bin/brave --new-window "http://proxy.iinact.com/overlay/skyline/?OVERLAY_WS=ws://127.0.0.1:10501/ws" ${pkgs.brave}/bin/brave --new-window "http://proxy.iinact.com/overlay/skyline/?OVERLAY_WS=ws://127.0.0.1:10501/ws"
# '') '')
] ++ map (name: (writeShellScriptBin name launchffxiv)) [ "ff14" "xivlauncher" ]; ] ++ map (name: (writeShellScriptBin name launchffxiv)) [ "ff14" "xivlauncher" ];
}; };
} }