Additions for work machine

This commit is contained in:
Martin Pander
2024-04-10 11:19:24 +02:00
parent e9a52a6f2a
commit d2763cfa8b
8 changed files with 42 additions and 14 deletions

View File

@ -48,9 +48,10 @@
# EDITOR = "nvim";
#};
#home.shellAliases = {
# "ll" = "ls -la";
#};
# home.shellAliases = {
# "t" = "tmuxp";
# "tl" = "tmuxp load";
# };
news.display = "silent";

View File

@ -11,7 +11,8 @@
outputs = { nixpkgs, home-manager, ... }:
let
system = "x86_64-darwin";
#system = "x86_64-darwin";
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations = {
@ -24,7 +25,7 @@
./user/task.nix
];
};
"work" = home-manager.lib.homeManagerConfiguration {
"pan" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [

View File

@ -24,5 +24,10 @@
push.default = "matching";
init.defaultBranch = "main";
};
ignores = [
".direnv/"
".envrc"
];
};
}

View File

@ -1,8 +1,8 @@
{ config, pkgs, ... }:
{
home.username = "moustachioed";
home.homeDirectory = "/Users/moustachioed";
home.username = "pan";
home.homeDirectory = "/home/pan";
home.stateVersion = "23.11"; # Please read the comment before changing.
@ -10,4 +10,14 @@
userName = "Martin Pander";
userEmail = "martin.pander@knowtion.de";
};
home.packages = with pkgs; [
yaml-language-server
marksman
];
programs.zsh.profileExtra = ''
source $HOME/.profile
'';
}

View File

@ -9,7 +9,6 @@
escapeTime = 0;
terminal = "screen-256color";
tmuxp.enable = true;
# newSession = true;
extraConfig = ''
set -g display-time 1500
@ -58,4 +57,9 @@
set -g pane-border-style "bg=#eeeeee,fg=#999999"
'';
};
home.shellAliases = {
"o" = "tmuxp";
"ol" = "tmuxp load";
};
}