refactor
This commit is contained in:
parent
66c05f9093
commit
44067d35ff
205 changed files with 9037 additions and 338 deletions
9
modules/nixos/apps/looking-glass-client/client.ini
Normal file
9
modules/nixos/apps/looking-glass-client/client.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
[input]
|
||||
escapeKey=56
|
||||
rawMouse=yes
|
||||
mouseSens=6
|
||||
|
||||
[win]
|
||||
size=1920x1080
|
||||
autoResize=yes
|
||||
quickSplash=yes
|
23
modules/nixos/apps/looking-glass-client/default.nix
Normal file
23
modules/nixos/apps/looking-glass-client/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let
|
||||
cfg = config.plusultra.apps.looking-glass-client;
|
||||
user = config.plusultra.user;
|
||||
in
|
||||
{
|
||||
options.plusultra.apps.looking-glass-client = with types; {
|
||||
enable =
|
||||
mkBoolOpt false "Whether or not to enable the Looking Glass client.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ looking-glass-client ];
|
||||
|
||||
environment.etc."looking-glass-client.ini" = {
|
||||
user = "+${toString config.users.users.${user.name}.uid}";
|
||||
source = ./client.ini;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue