Compare commits

..
3 changed files with 15 additions and 14 deletions

17
flake.lock generated
View file

@ -372,16 +372,19 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-unstable": [
"nixpkgs-unstable"
],
"treefmt-nix": [ "treefmt-nix": [
"treefmt-nix" "treefmt-nix"
] ]
}, },
"locked": { "locked": {
"lastModified": 1782927205, "lastModified": 1782751302,
"narHash": "sha256-mEVguvW2a9UzLAusuVvZFt6tvOVHor/kOeQziRcLE0c=", "narHash": "sha256-tLcfE+pLZWnAoa/VWdFCnSKVLbVOuaRozlUnkssx7ac=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "ebb85e6291f1ac38dc893bac9b62c1018db9cb8b", "rev": "621ee66133831158329981b498b50b4342ed4339",
"revCount": 2254, "revCount": 2237,
"type": "git", "type": "git",
"url": "https://forge.darkest.space/hyperhive/hyperhive.git" "url": "https://forge.darkest.space/hyperhive/hyperhive.git"
}, },
@ -673,11 +676,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1782821651, "lastModified": 1780930886,
"narHash": "sha256-D5jO0ME1lA9bDHnd5kVawBwItG/N4oZr3FlXmMzLec8=", "narHash": "sha256-rppURzHviaQN131F+nLiLdGfcb0uCd9gGP0E5+iw9MI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e52c192be9d7b2c4bd4aed326c8731b35f8bb75c", "rev": "8c3cede7ddc26bd659d2d383b5610efbd2c7a16e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -17,6 +17,7 @@
url = "git+https://forge.darkest.space/hyperhive/hyperhive.git"; url = "git+https://forge.darkest.space/hyperhive/hyperhive.git";
inputs = { inputs = {
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable";
treefmt-nix.follows = "treefmt-nix"; treefmt-nix.follows = "treefmt-nix";
}; };
}; };
@ -159,7 +160,7 @@
overlays = { overlays = {
unstable = final: prev: { unstable = final: prev: {
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
inherit (prev.stdenv.hostPlatform) system; localSystem = prev.stdenv.hostPlatform;
inherit (prev) config; inherit (prev) config;
}; };
}; };

View file

@ -37,12 +37,9 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv pc2 home roaming" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv pc2 home roaming"
]; ];
# brightnessctl's udev rules grant the `video` group write access to backlight brightness (muede is in `video`) # `programs.adb` removed in nixpkgs 26.05 (systemd 258 handles uaccess); add pkgs.android-tools to systemPackages if adb is needed
environment.systemPackages = [ # `programs.light` removed in nixpkgs 26.05; replace with brightnessctl or hardware.acpilight when re-enabling
pkgs.android-tools environment.systemPackages = [ pkgs.android-tools ];
pkgs.brightnessctl
];
services.udev.packages = [ pkgs.brightnessctl ];
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
8776 8776