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;
|
||||
height = 1440;
|
||||
refresh = 100;
|
||||
desktops.niri.output.connectors = ["DP-1"];
|
||||
desktops.niri.output.connectors = ["DP-1" "HDMI-A-1"];
|
||||
|
||||
programs.looking-glass = {
|
||||
enable = true;
|
||||
|
|
|
@ -70,6 +70,12 @@ in {
|
|||
(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}";
|
||||
}
|
||||
|
||||
{
|
||||
name = "Niri Issues";
|
||||
shortcut = "niri";
|
||||
url = "https://github.com/YaLTeR/niri/issues?q=is%3Aissue+is%3Aopen+{searchTerms}";
|
||||
}
|
||||
|
||||
{
|
||||
name = "NixOS Options";
|
||||
shortcut = "no";
|
||||
|
|
|
@ -409,6 +409,13 @@ in {
|
|||
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";
|
||||
Alias = "npr";
|
||||
|
|
|
@ -134,6 +134,12 @@ case "$1" in
|
|||
url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+"
|
||||
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 '*)
|
||||
label="NixOS Options"
|
||||
icon="nix-snowflake"
|
||||
|
|
|
@ -21,6 +21,7 @@ with lib; {
|
|||
#// kdeconnect.enable = true;
|
||||
libinput.enable = true;
|
||||
logind.enable = true;
|
||||
openrazer.enable = true;
|
||||
pipewire.enable = true;
|
||||
playerctld.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 {
|
||||
# https://github.com/cdown/tzupdate
|
||||
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