1
1
Fork 0

Compare commits

...

5 commits

Author SHA1 Message Date
032d971523
mynix: add output connector
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 13:39:10 -06:00
2f250e1e6f
niri: add disabled debug settings
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 13:38:52 -06:00
fd38deb103
openrazer: initial service
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 13:38:40 -06:00
37e104fac8
tzupdate: run service at boot
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 13:38:16 -06:00
9fd0575cf3
search: add niri issues
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 13:37:52 -06:00
8 changed files with 56 additions and 1 deletions

View file

@ -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;

View file

@ -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 = [];
};
};
};
};

View file

@ -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";

View file

@ -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";

View file

@ -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"

View file

@ -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;

View 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];
};
}

View file

@ -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
};
};
}