Compare commits

...

1 Commits

Author SHA1 Message Date
0243cb0b18 cracked steam and restructured flake so that its readable 2026-02-19 12:20:24 +00:00
5 changed files with 81 additions and 34 deletions

View File

@@ -190,7 +190,7 @@
mpv mpv
prismlauncher prismlauncher
delfin delfin
libreoffice-qt6 onlyoffice-desktopeditors
syncthing syncthing
xremap xremap
blueman blueman
@@ -216,10 +216,6 @@
}; };
# User programs # User programs
programs.steam = {
enable = true;
package = pkgs.unstable.steam;
};
programs.walker.enable = true; programs.walker.enable = true;
programs.dconf.enable = true; programs.dconf.enable = true;
programs.xfconf.enable = true; programs.xfconf.enable = true;

View File

@@ -64,6 +64,7 @@
bottles bottles
ferdium ferdium
android-tools android-tools
anki
vesktop vesktop
wine64 wine64
delfin delfin
@@ -75,6 +76,23 @@
]; ];
}; };
environment.systemPackages = [
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.wrapped
];
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraEnv = {
LD_AUDIT = "${
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
}/library-inject.so:${
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
}/SLSsteam.so";
};
};
};
services.wivrn = { services.wivrn = {
enable = true; enable = true;
package = pkgs.unstable.wivrn; package = pkgs.unstable.wivrn;

45
flake.lock generated
View File

@@ -151,6 +151,22 @@
} }
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1756787288, "lastModified": 1756787288,
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
@@ -166,7 +182,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1768564909, "lastModified": 1768564909,
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=", "narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
@@ -182,7 +198,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_7": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1761597516, "lastModified": 1761597516,
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=", "narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
@@ -222,6 +238,7 @@
"elephant": "elephant", "elephant": "elephant",
"mesa-davinci": "mesa-davinci", "mesa-davinci": "mesa-davinci",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"sls-steam": "sls-steam",
"tree-sitter": "tree-sitter", "tree-sitter": "tree-sitter",
"walker": "walker", "walker": "walker",
"way-edges": "way-edges" "way-edges": "way-edges"
@@ -248,6 +265,24 @@
"type": "github" "type": "github"
} }
}, },
"sls-steam": {
"inputs": {
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1769361037,
"narHash": "sha256-dWnjQpGNKEwIMPNoUp765q2QlVRCX58KbNm0ZBrTL80=",
"owner": "AceSLS",
"repo": "SLSsteam",
"rev": "6aae05be2fa2f8d5f1c5906658a3d41ad30d6352",
"type": "github"
},
"original": {
"owner": "AceSLS",
"repo": "SLSsteam",
"type": "github"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@@ -295,7 +330,7 @@
}, },
"tree-sitter": { "tree-sitter": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
"lastModified": 1765318765, "lastModified": 1765318765,
@@ -335,7 +370,7 @@
"elephant": [ "elephant": [
"elephant" "elephant"
], ],
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_7",
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
@@ -354,7 +389,7 @@
}, },
"way-edges": { "way-edges": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_7", "nixpkgs": "nixpkgs_8",
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {

View File

@@ -4,6 +4,10 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
sls-steam = {
url = "github:AceSLS/SLSsteam";
};
elephant.url = "github:abenz1267/elephant"; elephant.url = "github:abenz1267/elephant";
walker = { walker = {
url = "github:abenz1267/walker"; url = "github:abenz1267/walker";
@@ -28,35 +32,29 @@
}@inputs: }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
hardwareConfig = import /etc/nixos/hardware-configuration.nix; hardwareConfig = import /etc/nixos/hardware-configuration.nix;
common = import ./configs/common.nix;
mkSystem =
extraModules:
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
common
hardwareConfig
]
++ extraModules;
};
in in
{ {
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem { nixosConfigurations = {
inherit system; mobile02 = mkSystem [ ./configs/configuration-laptop.nix ];
specialArgs = { inherit inputs; }; hackstation = mkSystem [
modules = [
./configs/configuration-laptop.nix
./configs/common.nix
hardwareConfig
{
nixpkgs.config.allowUnfree = true;
}
];
};
nixosConfigurations.hackstation = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
./configs/configuration-pc.nix ./configs/configuration-pc.nix
./configs/common.nix
./modules/davinci/davinci.nix ./modules/davinci/davinci.nix
./modules/i3/i3.nix ./modules/i3/i3.nix
hardwareConfig
{
nixpkgs.config.allowUnfree = true;
}
]; ];
}; };
}; };

View File

@@ -13,7 +13,7 @@ let
curl curl
SDL2 SDL2
hidapi hidapi
xorg.libXrandr libXrandr
]; ];
# 2b. Libraries pulled from the older, pinned package set (ONLY the ones that failed). # 2b. Libraries pulled from the older, pinned package set (ONLY the ones that failed).