40 lines
834 B
Nix
40 lines
834 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home = {
|
|
username = "lsjostro";
|
|
homeDirectory = "/home/lsjostro";
|
|
packages = with pkgs; [ openconnect ];
|
|
};
|
|
|
|
programs.git = {
|
|
userName = "Lars Sjöstrom";
|
|
userEmail = "lars@radicore.se";
|
|
};
|
|
|
|
programs.ssh.matchBlocks = {
|
|
dev = {
|
|
hostname = "10.1.100.17";
|
|
};
|
|
|
|
nemo = {
|
|
hostname = "10.1.100.20";
|
|
forwardAgent = true;
|
|
localForwards = [
|
|
{
|
|
bind.address = "localhost";
|
|
bind.port = 8000;
|
|
host.address = "localhost";
|
|
host.port = 8000;
|
|
}
|
|
{
|
|
bind.address = "localhost";
|
|
bind.port = 8080;
|
|
host.address = "localhost";
|
|
host.port = 8080;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
home.stateVersion = "24.05"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
}
|