remote-exec nom, fix jornane
This commit is contained in:
parent
f629133ba1
commit
615392d05d
3
.remoteenv
Normal file
3
.remoteenv
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
eval "$(nix print-dev-env .#nomos-rebuild)"
|
||||
eval "$(nix print-dev-env .#nomos-rebuild)"
|
11
flake.nix
11
flake.nix
@ -1,8 +1,8 @@
|
||||
{
|
||||
description = "pbsds' system/home flake";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11-small";
|
||||
inputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||
inputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
inputs.nur.url = "github:nix-community/NUR";
|
||||
inputs.home-manager.url = "github:nix-community/home-manager"; #/release-22.11";
|
||||
inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
@ -99,6 +99,13 @@
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system: { # TODO: apply my overlays?
|
||||
nomos-rebuild = nixpkgs.legacyPackages.${system}.mkShell {
|
||||
packages = with nixpkgs.legacyPackages.${system}; [
|
||||
(writeScriptBin "nixos-rebuild" ''
|
||||
exec ${nixos-rebuild}/bin/nixos-rebuild "$@" |& ${nix-output-monitor}/bin/nom
|
||||
'')
|
||||
];
|
||||
};
|
||||
non-nixos = nixpkgs.legacyPackages.${system}.mkShell {
|
||||
packages = with nixpkgs.legacyPackages.${system}; [
|
||||
nix-output-monitor
|
||||
|
@ -5,7 +5,7 @@
|
||||
uid = 1002;
|
||||
description = "jornane";
|
||||
extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff
|
||||
shell = pkgs.zhs;
|
||||
shell = pkgs.zsh;
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhGRFktIRrppVVILraEn5eTrANBIBMcpNT4qvNcd7Ut"
|
||||
|
Loading…
Reference in New Issue
Block a user