revert add hacky method to fix sunshine
REMOVE NEXT FLAKE UPDATE
This commit is contained in:
insert 2024-05-05 16:52:37 +00:00
parent d4f6e53e65
commit 12f5aa330c
3 changed files with 3 additions and 28 deletions

View file

@ -261,24 +261,7 @@
"flatpaks": "flatpaks", "flatpaks": "flatpaks",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs"
"sunshine": "sunshine"
}
},
"sunshine": {
"locked": {
"lastModified": 1714035204,
"narHash": "sha256-4ESBKQzr7Ngs2ryhc9/BlfO3qgkYRQOEn0xE6WdFH50=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "13e6ece4709970e8f36f2713366ee9902e6ef137",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "13e6ece4709970e8f36f2713366ee9902e6ef137",
"type": "github"
} }
}, },
"systems": { "systems": {

View file

@ -2,7 +2,6 @@
inputs = { inputs = {
# ... # ...
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sunshine.url = "github:NixOS/nixpkgs/13e6ece4709970e8f36f2713366ee9902e6ef137";
flatpaks.url = "github:GermanBread/declarative-flatpak/dev"; flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
flatpaks.inputs.nixpkgs.follows = "nixpkgs"; flatpaks.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
@ -15,7 +14,7 @@
}; };
}; };
outputs = { nixpkgs, sunshine, flatpaks, agenix, home-manager, ... } @ inputs: { outputs = { nixpkgs, flatpaks, agenix, home-manager, ... } @ inputs: {
nixosConfigurations.insertpclinux = nixpkgs.lib.nixosSystem { nixosConfigurations.insertpclinux = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [

View file

@ -13,18 +13,11 @@
# })) ]; # })) ];
#boot.kernelPackages = pkgs.linuxPackages; #boot.kernelPackages = pkgs.linuxPackages;
nixpkgs.overlays = [ (self: super: (let
patched_pkgs = import inputs.sunshine {
inherit (self) system;
};
in {
services.sunshine = { services.sunshine = {
package = patched.sunshine;
enable = true; enable = true;
autoStart = true; autoStart = true;
capSysAdmin = true; capSysAdmin = true;
}; };
})) ];
hardware.nvidia = { hardware.nvidia = {