Compare commits

...

3 Commits

Author SHA1 Message Date
cybrneko e27621c910 fixed typo 2026-07-07 20:23:33 -05:00
cybrneko df81919851 nintendo switch game backup udev rules 2026-07-07 20:22:10 -05:00
cybrneko 2460fe2183 musnix integration 2026-07-07 20:21:56 -05:00
4 changed files with 56 additions and 4 deletions
+14 -2
View File
@@ -15,7 +15,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Use latest kernel. # Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_zen;
networking.hostName = "artemis"; # Define your hostname. networking.hostName = "artemis"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -82,6 +82,8 @@
#media-session.enable = true; #media-session.enable = true;
}; };
musnix.enable = true;
# realtime audio shenanigans # realtime audio shenanigans
security.pam.loginLimits = [ security.pam.loginLimits = [
{ {
@@ -130,7 +132,6 @@
hydrapaper hydrapaper
nextcloud-client nextcloud-client
fastfetch fastfetch
mutter
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -147,6 +148,17 @@
services.flatpak.enable = true; services.flatpak.enable = true;
# Enable Nintendo Switch Cartridge dumping
services.udev.packages = [
(pkgs.writeTextFile{
name = "nxdumptool-udev";
destination = "/etc/udev/rules.d/71-nxdumptool.rules";
text = builtins.readFile ./udev/71-nxdumptool.rules;
})
];
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
Generated
+36 -1
View File
@@ -21,6 +21,24 @@
"type": "github" "type": "github"
} }
}, },
"musnix": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1777848538,
"narHash": "sha256-Dj51C0NWsglqRrCpdmMr2nFiYacFOid1Tor4H9yG2HY=",
"owner": "musnix",
"repo": "musnix",
"rev": "8548782f0d1d0928daa3fffde8a008f72219a3f3",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1780908363, "lastModified": 1780908363,
@@ -37,6 +55,22 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1777268161,
"narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1782847225, "lastModified": 1782847225,
"narHash": "sha256-JC9PjqKYG9ve5U8aDOLQipp3+KLANBHUvGdLZlxzdKI=", "narHash": "sha256-JC9PjqKYG9ve5U8aDOLQipp3+KLANBHUvGdLZlxzdKI=",
@@ -55,8 +89,9 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"musnix": "musnix",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
} }
} }
}, },
+4 -1
View File
@@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nix-flatpak.url = "github:gmodena/nix-flatpak"; nix-flatpak.url = "github:gmodena/nix-flatpak";
musnix.url = "github:musnix/musnix";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-26.05"; url = "github:nix-community/home-manager/release-26.05";
@@ -11,7 +12,7 @@
}; };
}; };
outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }: outputs = { self, nixpkgs, home-manager, nix-flatpak, musnix, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
in { in {
@@ -21,6 +22,8 @@
modules = [ modules = [
./configuration.nix ./configuration.nix
musnix.nixosModules.musnix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
+2
View File
@@ -0,0 +1,2 @@
# Nintendo SDK debugger, which nxdumptool presents itself as
SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", TAG+="uaccess"