From fa0a8f690100df60de69b56dc6a200b40163fb8d Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 22 Jul 2025 21:49:48 +0200 Subject: [PATCH] Home/Nixinator: Add steam-run and fix nix-alien flake input --- flake.lock | 26 ++++++++++++++++++++------ flake.nix | 4 +++- home/christoph/nixinator/default.nix | 1 + 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 721cd053..e6845f59 100644 --- a/flake.lock +++ b/flake.lock @@ -627,7 +627,7 @@ }, "naersk": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1733346208, @@ -647,9 +647,7 @@ "inputs": { "flake-compat": "flake-compat_2", "nix-index-database": "nix-index-database", - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1752566074, @@ -735,6 +733,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1752950548, + "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "c87b95e25065c028d31a94f06a62927d18763fdf", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1752950548, "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=", @@ -750,7 +764,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1734323986, "narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=", @@ -904,7 +918,7 @@ "impermanence": "impermanence", "nix-alien": "nix-alien", "nix-flatpak": "nix-flatpak", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "nixpkgs-stable": "nixpkgs-stable", "nixvim": "nixvim", "nps": "nps", diff --git a/flake.nix b/flake.nix index 048a8691..de65fda9 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,9 @@ # Run unpatched binaries on NixOS nix-alien.url = "github:thiagokokada/nix-alien"; - nix-alien.inputs.nixpkgs.follows = "nixpkgs"; + # Don't follow nixpkgs: + # https://github.com/thiagokokada/nix-alien#user-content-nixos-installation-with-flakes + # nix-alien.inputs.nixpkgs.follows = "nixpkgs"; # Hyprland (use flake so plugins are not built from source) hyprland.url = "github:hyprwm/Hyprland"; diff --git a/home/christoph/nixinator/default.nix b/home/christoph/nixinator/default.nix index e8711999..5012d033 100644 --- a/home/christoph/nixinator/default.nix +++ b/home/christoph/nixinator/default.nix @@ -130,6 +130,7 @@ rider-unity dotnetCore mono + steam-run-free # nix-alien doesn't seem to run unity apps, this does... blender godot_4