Compare commits

...

4 commits

Author SHA1 Message Date
6a61f70457
Chore: update flake.lock 2024-12-05 16:24:53 +02:00
fab6a362fc
Home: hyprland stuff 2024-12-05 16:23:27 +02:00
f4ef1bd5c9
Global: add opentabletdriver config 2024-12-05 16:22:55 +02:00
e97df2e113
Theia/Nyx: add tailscale 2024-12-05 16:21:51 +02:00
7 changed files with 125 additions and 58 deletions

View file

@ -78,11 +78,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1732922729,
"narHash": "sha256-vp02vUhYVA2yECXTPXifUgb3YtEPYaerpD6lts99010=",
"lastModified": 1733319615,
"narHash": "sha256-QWQPdJiC6ab3J2rThuLoFJivkEOvMNkzOIn5qJLhIQg=",
"owner": "chaotic-cx",
"repo": "nyx",
"rev": "e581215cbee1ccf67a08f478d3c49808bc93a523",
"rev": "d6a32b476215dbe915ccfa123fcd16d59d21a2c6",
"type": "github"
},
"original": {
@ -121,11 +121,11 @@
]
},
"locked": {
"lastModified": 1732988076,
"narHash": "sha256-2uMaVAZn7fiyTUGhKgleuLYe5+EAAYB/diKxrM7g3as=",
"lastModified": 1733168902,
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=",
"owner": "nix-community",
"repo": "disko",
"rev": "2814a5224a47ca19e858e027f7e8bff74a8ea9f1",
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5",
"type": "github"
},
"original": {
@ -170,11 +170,11 @@
"flake-compat_3": {
"flake": false,
"locked": {
"lastModified": 1732722421,
"narHash": "sha256-HRJ/18p+WoXpWJkcdsk9St5ZiukCqSDgbOGFa8Okehg=",
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9ed2ac151eada2306ca8c418ebd97807bb08f6ac",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
@ -312,11 +312,11 @@
]
},
"locked": {
"lastModified": 1732884235,
"narHash": "sha256-r8j6R3nrvwbT1aUp4EPQ1KC7gm0pu9VcV1aNaB+XG6Q=",
"lastModified": 1733175814,
"narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "819f682269f4e002884702b87e445c82840c68f2",
"rev": "bf23fe41082aa0289c209169302afd3397092f22",
"type": "github"
},
"original": {
@ -332,11 +332,11 @@
]
},
"locked": {
"lastModified": 1732884235,
"narHash": "sha256-r8j6R3nrvwbT1aUp4EPQ1KC7gm0pu9VcV1aNaB+XG6Q=",
"lastModified": 1733389730,
"narHash": "sha256-KZMu4ddMll5khS0rYkJsVD0hVqjMNHlhTM3PCQar0Ag=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "819f682269f4e002884702b87e445c82840c68f2",
"rev": "65912bc6841cf420eb8c0a20e03df7cbbff5963f",
"type": "github"
},
"original": {
@ -374,10 +374,40 @@
"type": "github"
}
},
"hyprgraphics": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1733248371,
"narHash": "sha256-FFLJzFTyNhS7tBEEECx0B8Ye/bpmxhFVEKlECgMLc6c=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "cc95e5babc6065bc3ab4cd195429a9900836ef13",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprgraphics",
"type": "github"
}
},
"hyprland": {
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
"hyprgraphics": "hyprgraphics",
"hyprland-protocols": "hyprland-protocols",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
@ -388,11 +418,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1732988560,
"narHash": "sha256-CGtf2NTXgvAH0qXaYXMyZA5Dbw+86B3/jMmXz6QUCW0=",
"lastModified": 1733369810,
"narHash": "sha256-veg37osP0Nmby/Bt7mdqD6k+Co3wO4jwnth0B2Z7vHU=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "d26439a0fe5594fb26d5a3c01571f9490a9a2d2c",
"rev": "ceef4fb3a5efe1617790f56e2701846a21c2533d",
"type": "github"
},
"original": {
@ -623,11 +653,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1732521221,
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=",
"lastModified": 1733212471,
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d",
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github"
},
"original": {
@ -639,11 +669,11 @@
},
"nixpkgs-smol": {
"locked": {
"lastModified": 1732951447,
"narHash": "sha256-ndq0dD5E6FkqwmNYFS1wUAHa/5HixS3jLjulogM+7/E=",
"lastModified": 1733380312,
"narHash": "sha256-ywntxT10Om755wkB9tYgJwEwELQZKYAO5WcNuHv1vjI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "57feb2a16f705eeffb075888d92a986e66473012",
"rev": "a772498086eac57d97065a980a21fc0f304e3192",
"type": "github"
},
"original": {
@ -703,11 +733,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1732837521,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=",
"lastModified": 1733212471,
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github"
},
"original": {
@ -751,11 +781,11 @@
},
"nur": {
"locked": {
"lastModified": 1733007906,
"narHash": "sha256-AWZDsIrTjSONyHIKu4Zl5MM1IbFbXK/0IbBHU9ZraFw=",
"lastModified": 1733396819,
"narHash": "sha256-AEBmhobRo6PcvaZn9oEfjsQ/NElKBIBj8Va7sivSyzw=",
"owner": "nix-community",
"repo": "NUR",
"rev": "d886a37e34f46a1a5c3571b0e98c839f92a72715",
"rev": "e6098b0360b6436634f3604c134e99b608a8c252",
"type": "github"
},
"original": {
@ -836,11 +866,11 @@
]
},
"locked": {
"lastModified": 1732575825,
"narHash": "sha256-xtt95+c7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk=",
"lastModified": 1733128155,
"narHash": "sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa",
"rev": "c6134b6fff6bda95a1ac872a2a9d5f32e3c37856",
"type": "github"
},
"original": {
@ -857,11 +887,11 @@
]
},
"locked": {
"lastModified": 1732940172,
"narHash": "sha256-0at0wkwsaJfJBCGlwtXfg2JdeY30mZXhrWeoNqhLEYc=",
"lastModified": 1733372233,
"narHash": "sha256-nEpd7QFcjHXop4Km9ldh1fXq0K10/u7kPlchPXl44/g=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "0b712938230ab50d2e0cf961cc0f3660f7b18041",
"rev": "8a832957847b643f758263293ccca6e801614a1c",
"type": "github"
},
"original": {
@ -990,11 +1020,11 @@
},
"locked": {
"dir": "nix",
"lastModified": 1732918908,
"narHash": "sha256-k43oaC+35/LGqJ+3MjIhn4Ko+ap3wTvHCJ4sj9W/o+k=",
"lastModified": 1733323770,
"narHash": "sha256-UgxwyPAbnclzcWGltV1UKfoUihKJLv+o6aN0PWL0DUw=",
"owner": "wez",
"repo": "wezterm",
"rev": "4906789a6d61da58f73b95f89b59c41af60e0f3b",
"rev": "72e723187ca3596b67bcd3786457234ed40c75d2",
"type": "github"
},
"original": {

View file

@ -17,6 +17,13 @@
initrd.kernelModules = [ ];
kernelPackages = pkgs.linuxPackages_6_12;
kernelModules = [ "kvm-amd" ];
kernel = {
sysctl = {
"vm.max_map_count" = 2147483642;
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
};
extraModulePackages = [ ];
loader.grub = {
enable = true;
@ -24,9 +31,8 @@
};
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"netdata"
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "netdata" ];
nix = {
package = pkgs.lix;
@ -94,6 +100,21 @@
};
services = {
tailscale = {
enable = true;
useRoutingFeatures = "server";
openFirewall = true;
};
networkd-dispatcher = {
enable = true;
rules."50-tailscale" = {
onState = [ "routable" ];
script = ''
${lib.getExe pkgs.ethtool} -K ens3 rx-udp-gro-forwarding on rx-gro-list off
'';
};
};
earlyoom = {
enable = true;
@ -170,9 +191,7 @@
"access log" = "none";
"error log" = "syslog";
};
package = pkgs.netdata.override {
withCloudUi = true;
};
package = pkgs.netdata.override { withCloudUi = true; };
};
forgejo = {
@ -287,5 +306,7 @@
jq
busybox
fish
ethtool
networkd-dispatcher
];
}

View file

@ -48,6 +48,9 @@
follow_mouse = 1;
sensitivity = 0.1;
force_no_accel = true;
tablet = {
left_handed = true;
};
};
general = {

View file

@ -19,8 +19,8 @@
bind = [
"Super, mouse_up, workspace, +1"
"Super, mouse_down, workspace, -1"
"Super, Page_up, workspace, +1"
"Super, Page_down, workspace, -1"
"Super, Page_up, workspace, -1"
"Super, Page_down, workspace, +1"
"Super+Shift, S, togglespecialworkspace"

View file

@ -1,12 +1,8 @@
{ config, pkgs, inputs, ... }: {
nixpkgs = {
overlays = [
inputs.nur.overlay
];
config = {
allowUnfree = true;
};
overlays = [ inputs.nur.overlay ];
config = { allowUnfree = true; };
};
environment.systemPackages = with pkgs; [
@ -20,8 +16,10 @@
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
remotePlay.openFirewall =
true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall =
true; # Open ports in the firewall for Source Dedicated Server
};
gamemode.enable = true;
alvr = {
@ -41,7 +39,13 @@
hardware = {
amdgpu.opencl.enable = true; # For davinci-resolve
# opentabletdriver.enable = true;
opentabletdriver = {
enable = true; # For osu!
daemon.enable = true;
blacklistedKernelModules = [
"wacom"
];
};
graphics = {
enable = true;
enable32Bit = true;

View file

@ -4,5 +4,6 @@
./vpn.nix
./pipewire.nix
./bluetooth.nix
./tailscale.nix
];
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
services.tailscale = {
enable = true;
};
environment.systemPackages = with pkgs; [
trayscale
];
}