summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-06-07 22:05:23 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2024-06-07 22:05:23 -0600
commit0b7309875de39ae69c0cc8cf815123ce22eb13c1 (patch)
treeb31224492f006a1b0b648d8ed1d3386f909e9a74 /modules
parentcecf86baec5259e6216f214abec1874f54eaf143 (diff)
parent6bee392d2cbb5da51e66626bc98c1783ae6f57f8 (diff)
Merge branch 'master' of ssh://bosco:/srv/git/.flake
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/asus-numpad-touchpad.nix5
-rw-r--r--modules/nixos/cgit.nix5
-rw-r--r--modules/nixos/environment.nix1
-rw-r--r--modules/nixos/hyprland.nix2
4 files changed, 10 insertions, 3 deletions
diff --git a/modules/nixos/asus-numpad-touchpad.nix b/modules/nixos/asus-numpad-touchpad.nix
new file mode 100644
index 0000000..6410f3a
--- /dev/null
+++ b/modules/nixos/asus-numpad-touchpad.nix
@@ -0,0 +1,5 @@
+{ pkgs, ... } : {
+ environment.systemPackages = with pkgs; [
+ libevdev python312Packages.libevdev python312Packages.i2c-tools i2c-tools git
+ ];
+}
diff --git a/modules/nixos/cgit.nix b/modules/nixos/cgit.nix
index 177158a..a5b4013 100644
--- a/modules/nixos/cgit.nix
+++ b/modules/nixos/cgit.nix
@@ -1,12 +1,13 @@
-{ config, ... } : { # This is for hosting on bosco
+{ config, pkgs, ... } : { # This is for hosting on bosco
services.cgit = {
"git.myrmexia.xyz" = {
enable = true;
- nginx.location = "/git/";
+ nginx.location = "/";
# nginx.virtualHost = "git.myrmexia.xyz";
settings = {
enable-commit-graph = 1;
enable-http-clone = 0;
+ source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py";
};
repos = {
nixos-flake = {
diff --git a/modules/nixos/environment.nix b/modules/nixos/environment.nix
index 52aaae9..4fdd495 100644
--- a/modules/nixos/environment.nix
+++ b/modules/nixos/environment.nix
@@ -7,7 +7,6 @@
sessionVariables = {
NIXOS_OZONE_WL = "1";
NIXPKGS_ALLOW_INSECURE = "1";
- RADV_PERFTEST = "rt";
};
variables = {
# PATH = "/home/defin/.local/share/gem/ruby/3.0.0/bin:";
diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix
index 793ce4c..afc96df 100644
--- a/modules/nixos/hyprland.nix
+++ b/modules/nixos/hyprland.nix
@@ -59,6 +59,7 @@
swayidle # the idle timeout
swaylock-effects # locking the screen
brightnessctl # control device brightness
+ foot # terminal
wlogout # logout menu
wl-clipboard # copying and pasting
hyprpicker # color picker
@@ -69,6 +70,7 @@
slurp # selecting a region to screenshot
# TODO replace by 'flameshot gui --raw | wl-copy'
+ wofi # launch programs
mako # the notification daemon, the same as dunst
yad # a fork of zenity, for creating dialogs