This commit is contained in:
2025-08-07 01:46:58 +03:00
parent 185d6e22b4
commit de44801150
62 changed files with 5 additions and 43 deletions
-19
View File
@@ -1,19 +0,0 @@
# https://github.com/ezKEa/aagl-gtk-on-nix
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
{
imports = [ inputs.aagl.nixosModules.default ];
nix.settings = inputs.aagl.nixConfig; # Set up Cachix
programs = {
anime-game-launcher.enable = true;
#anime-games-launcher.enable = true;
#honkers-railway-launcher.enable = true;
#honkers-launcher.enable = true;
#wavey-launcher.enable = true;
#sleepy-launcher.enable = true;
};
}
-13
View File
@@ -1,13 +0,0 @@
# https://github.com/fufexan/nix-gaming
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
{
nix.settings = {
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
}
-47
View File
@@ -1,47 +0,0 @@
# https://github.com/musnix/musnix
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
imports = [ inputs.musnix.nixosModules.musnix ];
specialisation = {
"rt_kernel" = {
inheritParentConfig = true;
configuration = {
###
boot.kernelModules = [
"snd-seq"
"snd-rawmidi"
];
services = {
pipewire.enable = lib.mkForce false;
jack = {
jackd.enable = lib.mkForce true;
alsa.enable = true;
loopback.enable = true;
};
};
environment.systemPackages = with pkgs; [
jack2
jack_capture
libjack2
pavucontrol
qjackctl
];
musnix = {
enable = true;
#ffado.enable = true;
rtcqs.enable = true;
kernel.realtime = true;
kernel.packages = pkgs.linuxPackages_latest_rt;
};
###
};
};
};
}
-33
View File
@@ -1,33 +0,0 @@
{ inputs, ... }@flakeContext:
let
pkgs-stable = import inputs.nixpkgs-fingerprint { system = "x86_64-linux"; };
in
{
config,
pkgs,
...
}:
{
security.pam.services.login.fprintAuth = false;
services = {
fprintd = {
enable = true;
package = pkgs-stable.fprintd.override {
libfprint = pkgs-stable.libfprint.overrideAttrs (oldAttrs: {
version = "git";
src = pkgs-stable.fetchFromGitHub {
owner = "ericlinagora";
repo = "libfprint-CS9711";
rev = "c242a40fcc51aec5b57d877bdf3edfe8cb4883fd";
sha256 = "sha256-WFq8sNitwhOOS3eO8V35EMs+FA73pbILRP0JoW/UR80=";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [
pkgs-stable.opencv
pkgs-stable.cmake
pkgs-stable.doctest
];
});
};
};
};
}
-31
View File
@@ -1,31 +0,0 @@
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
{
systemd.services.zapret = {
enable = true;
description = "zapret complete";
unitConfig = {
After = [ "network-online.target" ];
Wants = [ "network-online.target" ];
};
wantedBy = [ "multi-user.target" ];
path = [ "/run/current-system/sw" ];
serviceConfig = {
Type = "simple";
Restart = "on-failure";
User = "root";
WorkingDirectory = "${inputs.zapret.script-dir}";
ExecStart = "/run/current-system/sw/bin/bash ./main_script.sh -nointeractive";
ExecStop = "/run/current-system/sw/bin/bash ./stop_and_clean_nft.sh";
};
};
environment = {
systemPackages = with pkgs; [
nftables
];
};
}