Compare commits
5 commits
d634fa40bb
...
032d971523
Author | SHA1 | Date | |
---|---|---|---|
032d971523 | |||
2f250e1e6f | |||
fd38deb103 | |||
37e104fac8 | |||
9fd0575cf3 |
8 changed files with 56 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
width = 3440;
|
width = 3440;
|
||||||
height = 1440;
|
height = 1440;
|
||||||
refresh = 100;
|
refresh = 100;
|
||||||
desktops.niri.output.connectors = ["DP-1"];
|
desktops.niri.output.connectors = ["DP-1" "HDMI-A-1"];
|
||||||
|
|
||||||
programs.looking-glass = {
|
programs.looking-glass = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -70,6 +70,12 @@ in {
|
||||||
(leaf "open-floating" true)
|
(leaf "open-floating" true)
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
# https://github.com/YaLTeR/niri/wiki/Configuration:-Debug-Options
|
||||||
|
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingsdebug
|
||||||
|
settings.debug = {
|
||||||
|
#// disable-direct-scanout = [];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -185,6 +185,12 @@ in {
|
||||||
url = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
url = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
name = "Niri Issues";
|
||||||
|
shortcut = "niri";
|
||||||
|
url = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "NixOS Options";
|
name = "NixOS Options";
|
||||||
shortcut = "no";
|
shortcut = "no";
|
||||||
|
|
|
@ -409,6 +409,13 @@ in {
|
||||||
URLTemplate = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
URLTemplate = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
Name = "Niri Issues";
|
||||||
|
Alias = "niri";
|
||||||
|
IconURL = "https://github.com/favicon.ico";
|
||||||
|
URLTemplate = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
Name = "Nix PR";
|
Name = "Nix PR";
|
||||||
Alias = "npr";
|
Alias = "npr";
|
||||||
|
|
|
@ -134,6 +134,12 @@ case "$1" in
|
||||||
url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+"
|
url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+"
|
||||||
query="${1:3}"
|
query="${1:3}"
|
||||||
;;
|
;;
|
||||||
|
'niri '*)
|
||||||
|
label="Niri Issues"
|
||||||
|
icon="com.github.zren.bugzilla"
|
||||||
|
url="https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+"
|
||||||
|
query="${1:3}"
|
||||||
|
;;
|
||||||
'no '*)
|
'no '*)
|
||||||
label="NixOS Options"
|
label="NixOS Options"
|
||||||
icon="nix-snowflake"
|
icon="nix-snowflake"
|
||||||
|
|
|
@ -21,6 +21,7 @@ with lib; {
|
||||||
#// kdeconnect.enable = true;
|
#// kdeconnect.enable = true;
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
logind.enable = true;
|
logind.enable = true;
|
||||||
|
openrazer.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
playerctld.enable = true;
|
playerctld.enable = true;
|
||||||
ratbagd.enable = true;
|
ratbagd.enable = true;
|
||||||
|
|
24
options/custom/services/openrazer.nix
Normal file
24
options/custom/services/openrazer.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.custom.services.openrazer;
|
||||||
|
in {
|
||||||
|
options.custom.services.openrazer = {
|
||||||
|
enable = mkOption {default = false;};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
# https://wiki.nixos.org/wiki/Hardware/Razer
|
||||||
|
hardware.openrazer = {
|
||||||
|
enable = true;
|
||||||
|
users = [config.custom.username];
|
||||||
|
};
|
||||||
|
|
||||||
|
# https://polychromatic.app/
|
||||||
|
environment.systemPackages = [pkgs.polychromatic];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11,5 +11,10 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# https://github.com/cdown/tzupdate
|
# https://github.com/cdown/tzupdate
|
||||||
services.tzupdate.enable = true;
|
services.tzupdate.enable = true;
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/misc/tzupdate.nix
|
||||||
|
systemd.services.tzupdate = {
|
||||||
|
wantedBy = ["network-online.target"]; # Run at boot without checking for Internet access
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue