diff --git a/README.md b/README.md index 0d8c94b..454f2d2 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,10 @@ nix-channel --update -v Symlink `/etc/nixos/configuration.nix` to the corresponding `machines//configuration.nix` entry and just keep using *nixos-rebuild* like nothing happend. + +## My Dell work laptop +My employer gave me a laptop with Ubuntu installed and is not that happy with the idea of me running NixOS on it. +Therefore I at least installed Home-Manager in standalone mode on it and created the `dell.nix` that can be used by +symlinking it to `~/.config/home-manager/home.nix`. +This way I at least get recent versions of tools with all of my personal config for e.g. Neovim. + diff --git a/home-manager/dell.nix b/home-manager/dell.nix index 3eb96e1..acb3c52 100644 --- a/home-manager/dell.nix +++ b/home-manager/dell.nix @@ -1,9 +1,14 @@ -{ config, pkgs, ... }: - +{ config +, pkgs +, ... +}: { imports = [ modules/neovim.nix modules/git.nix + modules/tmux.nix + + ../secrets/denic.nix ]; home.username = "felix"; @@ -14,8 +19,6 @@ sensu-go-cli kubectl krew - tmux - tmuxPlugins.gruvbox silver-searcher fd subversionClient @@ -44,24 +47,16 @@ }; shellAliases = { "dl" = "ls -lhtr --color=always ~/Downloads | tail -n 10"; # Show the 10 newest Downloads - "notes" = "vim ~/denic/notes.md"; # Open my work notes "buzzer" = "ssh -i Nextcloud/Privat/id_door door@door.w17.io buzzer"; "k" = "kubectl"; - "windesk2" = "xfreerdp /u:felixb /w:1920 /h:1080 /v:w12243"; }; initExtra = '' - export EDITOR="vim"; + export EDITOR="nvim"; export PATH="$PATH:$HOME/.krew/bin:$HOME/bin:$HOME/go/bin"; source <(kubectl completion zsh) ''; }; - programs.git = { - enable = true; - userName = "fleaz"; - userEmail = "mail@felixbreidenstein.de"; - }; - programs.foot = { enable = true; settings = { @@ -95,19 +90,7 @@ }; home.file = { }; - - # You can also manage environment variables but you will have to manually - # source - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/felix/etc/profile.d/hm-session-vars.sh - # - # if you don't want to manage your shell through Home Manager. - home.sessionVariables = { - }; + home.sessionVariables = { }; # Let Home Manager install and manage itself. programs.home-manager.enable = true; diff --git a/secrets b/secrets index db7b25c..5bb5db7 160000 --- a/secrets +++ b/secrets @@ -1 +1 @@ -Subproject commit db7b25cfa5baa4cb1a83270756d76d27cbddce85 +Subproject commit 5bb5db7a6e82331b2697c0b9fde910ffaca0f703