Move nvim config
This commit is contained in:
26
hosts/work/common.nix
Normal file
26
hosts/work/common.nix
Normal 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
19
hosts/work/nix/home.nix
Normal 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;
|
||||
|
||||
}
|
||||
22
hosts/work/nixos/configuration.nix
Normal file
22
hosts/work/nixos/configuration.nix
Normal 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
17
hosts/work/nixos/home.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user