Migrate to home-manager

This commit is contained in:
Daniel Lundin 2024-08-02 11:12:36 +02:00
parent 6781866277
commit 2f6d4e1d3c
No known key found for this signature in database
147 changed files with 6181 additions and 6078 deletions
users/lsjostro

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

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