Move nvim config

This commit is contained in:
Martin Pander
2026-02-11 08:03:13 +01:00
parent 9b0b1f76f9
commit 38083b9af4
31 changed files with 105 additions and 27 deletions

26
hosts/work/common.nix Normal file
View File

@@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
imports = [
../../modules/home/common.nix
];
programs.git.settings.user = {
name = "Martin Pander";
email = "martin.pander@knowtion.de";
};
programs.jujutsu.settings.user = {
name = "Martin Pander";
email = "martin.pander@knowtion.de";
};
dot.llm = {
enable = true;
claude-code.enable = true;
opencode.enable = true;
};
dot.tmux.workMode = true;
dot.nvim.workMode = true;
}

19
hosts/work/nix/home.nix Normal file
View File

@@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
imports = [
../common.nix
];
home.username = "pan";
home.homeDirectory = "/home/pan";
home.packages = with pkgs; [
nix-ld
];
home.stateVersion = "23.11";
dot.sh.sourceProfile = true;
}

View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
imports = [
../../../modules/nixos/common.nix
];
wsl.enable = true;
wsl.defaultUser = "pan";
wsl.interop.register = true;
networking.hostName = "nix";
users.users.pan = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ];
uid = 1000;
shell = pkgs.zsh;
};
system.stateVersion = "25.05";
}

17
hosts/work/nixos/home.nix Normal file
View File

@@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }:
{
imports = [
../common.nix
];
# User details
home.username = "pan";
home.homeDirectory = "/home/pan";
# Home Manager release version
home.stateVersion = "25.05";
# Disable version mismatch warning (intentionally using HM 25.11 with nixpkgs 25.05)
home.enableNixpkgsReleaseCheck = false;
}