move old nixos-config over here

This commit is contained in:
Daniel Lundin 2024-08-02 14:09:42 +02:00
parent 346d80ae7e
commit 54baace7c1
No known key found for this signature in database
35 changed files with 850 additions and 44 deletions
home/lsjostro

40
home/lsjostro/home.nix Normal file
View 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
View file

@ -0,0 +1,6 @@
{ ... }:
{
imports = [ ./home.nix ];
# Host specific user config goes here
}