lots of things (everything is a total mess)
This commit is contained in:
parent
480d649d62
commit
931efc7518
22 changed files with 109 additions and 52 deletions
|
@ -106,8 +106,10 @@ in {
|
|||
# programs.qt
|
||||
programs.adb
|
||||
programs.kanidm
|
||||
programs.openrgb
|
||||
programs.tools
|
||||
programs.thunar
|
||||
programs.corectrl
|
||||
|
||||
services.default
|
||||
services.pipewire
|
||||
|
@ -122,6 +124,7 @@ in {
|
|||
desktop.x11.nosleep
|
||||
|
||||
themes.dark
|
||||
# themes.xundark
|
||||
|
||||
programs.gamemode
|
||||
programs.gamescope
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
boot = {
|
||||
blacklistedKernelModules = [
|
||||
# "xhci_pci" # was causing issues (100% udevd cpu usage)
|
||||
"xhci_pci" # was causing issues (100% udevd cpu usage)
|
||||
];
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
|
|
|
@ -48,12 +48,10 @@ in {
|
|||
|
||||
## make sure vpn connection is reasonably fast
|
||||
## god, there has to be a proper, not horrible way of doing this
|
||||
## TODO fix this and uhh make sure it works and stuff
|
||||
# systemd.services."wg-speedcheck" = {
|
||||
# requires = ["wg.service"];
|
||||
# enable = false;
|
||||
# serviceConfig = {
|
||||
# Type = "oneshot";
|
||||
# ExecCondition = "${config.systemd.package}/bin/systemctl is-active wg.service"; # horrible, horrible hack, theres 100% a better way
|
||||
# ExecStart = pkgs.writers.writeBash "wg-speedcheck.sh" ''
|
||||
# echo "running test in netns"
|
||||
# vpn_result=$( ${pkgs.iproute2}/bin/ip netns exec wg ${pkgs.speedtest-cli}/bin/speedtest --json )
|
||||
|
@ -78,6 +76,14 @@ in {
|
|||
# };
|
||||
# };
|
||||
|
||||
# systemd.timers."wg-speedcheck" = {
|
||||
# wantedBy = ["timers.target"];
|
||||
# timerConfig = {
|
||||
# OnCalendar = "0/2:00:00";
|
||||
# Unit = "wg-speedcheck.service";
|
||||
# };
|
||||
# };
|
||||
|
||||
vpnNamespaces."wg" = {
|
||||
enable = true;
|
||||
wireguardConfigFile = config.sops.secrets.wireguard.path;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#];
|
||||
|
||||
nixpkgs.config = {
|
||||
rocmSupport = true;
|
||||
# rocmSupport = true; # TODO enable once nixpkgs fixes their shit and llvm libc doesnt fail to compile (https://github.com/NixOS/nixpkgs/issues/368672)
|
||||
allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
|
||||
users.groups.deploy = {};
|
||||
users.users.deploy = {
|
||||
isSystemUser = true;
|
||||
isSystemUser = false;
|
||||
isNormalUser = true; # i want a home directory for some things
|
||||
useDefaultShell = true;
|
||||
group = "deploy";
|
||||
extraGroups = ["wheel"];
|
||||
|
|
4
nix/systemProfiles/programs/corectrl.nix
Normal file
4
nix/systemProfiles/programs/corectrl.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
programs.corectrl.enable = true;
|
||||
users.users.xun.extraGroups = ["corectrl"];
|
||||
}
|
3
nix/systemProfiles/programs/openrgb.nix
Normal file
3
nix/systemProfiles/programs/openrgb.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.hardware.openrgb.enable = true;
|
||||
}
|
|
@ -23,5 +23,6 @@
|
|||
openssl # for generating passwords
|
||||
yt-dlp
|
||||
inotify-tools
|
||||
dig
|
||||
];
|
||||
}
|
||||
|
|
2
nix/systemProfiles/themes/xundark.nix
Normal file
2
nix/systemProfiles/themes/xundark.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
_: {pkgs, ...}: {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue