Compare commits
9 Commits
fix-zotero
...
5dc4d57d7e
| Author | SHA1 | Date | |
|---|---|---|---|
| 5dc4d57d7e | |||
| 17fb45606b | |||
| 1825424cbb | |||
| af08b2f1b1 | |||
| 7bdbb985da | |||
| 5a87805660 | |||
| 1f0c248b24 | |||
| 31b61ddd73 | |||
| c0b60ff0e4 |
@@ -21,6 +21,7 @@
|
|||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
qemu.enable = true;
|
qemu.enable = true;
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
gtav-battleye-hack.enable = true;
|
||||||
# gdm.enable = true;
|
# gdm.enable = true;
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
sydpkgs.overlay.enable = true;
|
sydpkgs.overlay.enable = true;
|
||||||
|
|||||||
@@ -56,7 +56,12 @@ in {
|
|||||||
Extra arguments to pass to the final wrapProgram call.
|
Extra arguments to pass to the final wrapProgram call.
|
||||||
'';
|
'';
|
||||||
default = [];
|
default = [];
|
||||||
type = lib.types.listOf lib.types.str;
|
type = with lib.types;
|
||||||
|
listOf
|
||||||
|
(coercedTo
|
||||||
|
(oneOf [str package])
|
||||||
|
builtins.toString
|
||||||
|
str);
|
||||||
apply = lib.escapeShellArgs;
|
apply = lib.escapeShellArgs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
18
modules/home/prism-launcher.nix
Normal file
18
modules/home/prism-launcher.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.sydnix.prism-launcher;
|
||||||
|
in {
|
||||||
|
options.sydnix.prism-launcher = {
|
||||||
|
enable = lib.mkEnableOption "Prism Launcher";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.prismlauncher
|
||||||
|
];
|
||||||
|
|
||||||
|
sydnix.impermanence.directories = [
|
||||||
|
".local/share/PrismLauncher"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -51,6 +51,10 @@ in {
|
|||||||
pkgs.nerd-fonts.victor-mono
|
pkgs.nerd-fonts.victor-mono
|
||||||
pkgs.ibm-plex
|
pkgs.ibm-plex
|
||||||
];
|
];
|
||||||
|
extraWrapProgramArgs = [
|
||||||
|
"--set" "ESHELL_ALIASES_FILE"
|
||||||
|
config.home.sessionVariables.ESHELL_ALIASES_FILE
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
(require 'syd/base)
|
(require 'syd/base)
|
||||||
|
|
||||||
(use-package auctex
|
(use-package auctex)
|
||||||
|
|
||||||
|
(use-package tex
|
||||||
|
:straight nil ; Part of auctex.
|
||||||
:config
|
:config
|
||||||
(add-to-list 'TeX-view-program-selection '(output-pdf "Sioyek")))
|
(add-to-list 'TeX-view-program-selection '(output-pdf "Sioyek")))
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
(require 'syd/base)
|
(require 'syd/base)
|
||||||
|
|
||||||
(use-package fcitx
|
(use-package fcitx
|
||||||
:custom ((fcitx-remote-command "fcitx5-remote"))
|
|
||||||
:config
|
:config
|
||||||
|
(setq fcitx-remote-command "fcitx5-remote")
|
||||||
(fcitx-aggressive-setup))
|
(fcitx-aggressive-setup))
|
||||||
|
|
||||||
(provide 'syd/fcitx)
|
(provide 'syd/fcitx)
|
||||||
|
|||||||
@@ -22,11 +22,16 @@
|
|||||||
"/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
"/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||||
"\\\\" "://"))
|
"\\\\" "://"))
|
||||||
;; Sitelen pona glyphs.
|
;; Sitelen pona glyphs.
|
||||||
(rx-let ((ideograph (any (#xF1900 . #xF198C))))
|
(rx-let ((ideograph (any (#xF1900 . #xF198C)))
|
||||||
|
(tok-punct (any "" ""))
|
||||||
|
(arrow (any "←-↙"))
|
||||||
|
(zwj ""))
|
||||||
(ligature-set-ligatures
|
(ligature-set-ligatures
|
||||||
'fundamental-mode
|
'fundamental-mode
|
||||||
`(("" ,(rx (* ideograph)))
|
`(("" ,(rx (* (or ideograph tok-punct))))
|
||||||
("" ,(rx "" (* ideograph))))))
|
("" ,(rx "" (* (or ideograph tok-punct)) ""))
|
||||||
|
("" ,(rx zwj arrow))
|
||||||
|
("" ,(rx zwj ideograph)))))
|
||||||
(global-ligature-mode 1))
|
(global-ligature-mode 1))
|
||||||
|
|
||||||
(provide 'syd/ligature)
|
(provide 'syd/ligature)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
;;; -*- lexical-binding: t; -*-
|
;;; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(require 'syd/base)
|
(require 'syd/base)
|
||||||
|
(require 'syd/keymaps)
|
||||||
(require 'syd/completion) ; For `consult'.
|
(require 'syd/completion) ; For `consult'.
|
||||||
(require 'consult)
|
(require 'consult)
|
||||||
|
|
||||||
|
|||||||
17
modules/nixos/gtav-battleye-hack.nix
Normal file
17
modules/nixos/gtav-battleye-hack.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.sydnix.gtav-battleye-hack;
|
||||||
|
in {
|
||||||
|
options.sydnix.gtav-battleye-hack = {
|
||||||
|
enable = lib.mkEnableOption
|
||||||
|
"Grand Theft Auto V Online BattlEye workaround";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
networking.hosts."0.0.0.0" = [
|
||||||
|
"paradise-s1.battleye.com"
|
||||||
|
"test-s1.battleye.com"
|
||||||
|
"paradiseenhanced-s1.battleye.com"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -46,6 +46,8 @@
|
|||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
qalculate.enable = true;
|
qalculate.enable = true;
|
||||||
toki-pona.enable = true;
|
toki-pona.enable = true;
|
||||||
|
prism-launcher.enable = on "sydpc";
|
||||||
|
flatpak.enable = on "sydpc";
|
||||||
sops = {
|
sops = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyFile = "/persist/private-keys/age/crumb";
|
keyFile = "/persist/private-keys/age/crumb";
|
||||||
|
|||||||
Reference in New Issue
Block a user