mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-14 03:12:32 +00:00
sync
This commit is contained in:
@@ -27,16 +27,16 @@
|
|||||||
user_sstent.enable = true;
|
user_sstent.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
# environment.systemPackages =
|
||||||
[ pkgs.socat
|
# [ pkgs.socat
|
||||||
pkgs.npiperelay
|
# pkgs.npiperelay
|
||||||
pkgs.wsl-ssh-agent-forward];
|
# pkgs.wsl-ssh-agent-forward];
|
||||||
|
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: with pkgs; rec {
|
# nixpkgs.config.packageOverrides = pkgs: with pkgs; rec {
|
||||||
npiperelay = callPackage ../../pkgs/npiperelay { };
|
# npiperelay = callPackage ../../pkgs/npiperelay { };
|
||||||
wsl-ssh-agent-forward = callPackage ../../pkgs/wsl-ssh-agent-forward { };
|
# wsl-ssh-agent-forward = callPackage ../../pkgs/wsl-ssh-agent-forward { };
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,20 +2,8 @@
|
|||||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||||
|
|
||||||
{ lib, config, pkgs, inputs, ... }: {
|
{ lib, config, pkgs, inputs, ... }: {
|
||||||
# You can import other NixOS modules here
|
|
||||||
|
|
||||||
# imports = [
|
|
||||||
# #./hardware-configuration.nix
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# imports = [ inputs.agenix.nixosModules.default ];
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ pkgs.cifs-utils];
|
[ pkgs.cifs-utils];
|
||||||
|
|
||||||
# age.secrets.secret1.file = ../secrets/secret1.age;
|
|
||||||
# TODO age.identirty needs to be set
|
|
||||||
# environment.etc."secret1".source = config.age.secrets.secret1.path;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ programs = {
|
|||||||
|
|
||||||
#keybase service &
|
#keybase service &
|
||||||
# Configure ssh forwarding
|
# Configure ssh forwarding
|
||||||
. ~/bin/wsl-ssh-agent-forwarder
|
. wsl-ssh-agent-forwarder
|
||||||
ssh-add -l
|
ssh-add -l
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user