move old nixos-config over here
This commit is contained in:
parent
346d80ae7e
commit
54baace7c1
35 changed files with 850 additions and 44 deletions
40
home/lsjostro/home.nix
Normal file
40
home/lsjostro/home.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ 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
|
||||
}
|
6
home/lsjostro/nemo.nix
Normal file
6
home/lsjostro/nemo.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [ ./home.nix ];
|
||||
|
||||
# Host specific user config goes here
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue