summaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-03-11 17:49:54 +0100
committerMike Vink <mike1994vink@gmail.com>2023-03-11 17:49:54 +0100
commit4524eeb9e4b4289fa4f4dd1c0172cf22eaed428c (patch)
treef68e1dddd65c12456787d450e82c2377627b9c64 /home.nix
parent56ee02780116a83ef63c512dad21c746968e6551 (diff)
fixup
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix28
1 files changed, 7 insertions, 21 deletions
diff --git a/home.nix b/home.nix
index 31055e2..adbce96 100644
--- a/home.nix
+++ b/home.nix
@@ -1,5 +1,6 @@
{
flake,
+ username,
config,
pkgs,
home-manager,
@@ -10,10 +11,11 @@
./home/neovim.nix
./home/st.nix
];
-
- home.username = "mike";
- home.homeDirectory = "/home/mike";
+ home.homeDirectory = "/home/${username}";
+ home.username = username;
home.stateVersion = "22.05";
+
+
programs.home-manager.enable = true;
home.sessionVariables = {
@@ -26,35 +28,19 @@
home.packages = with pkgs;
[
- docker
- k9s
+ ansible
kubernetes-helm
powershell
azure-cli
kubectl
krew
jq
- wireshark
htop
- fortune
- vim
- dmenu
- stow
- (nerdfonts.override {fonts = ["FiraCode"];})
subversion
ripgrep
inotify-tools
fzf
-
- firefox-wayland
-
- swaylock
- swayidle
- xclip
- mako
- wofi
- waybar
]
++ (import ./shell-scripts.nix {inherit pkgs config;});
@@ -68,7 +54,7 @@
shellAliases = {
s = "sudo nixos-rebuild switch --flake ${config.home.homeDirectory}/flake#";
b = "/run/current-system/bin/switch-to-configuration boot";
- h = "home-manager switch --flake ${config.home.homeDirectory}/flake#${config.home.username}";
+ h = "home-manager switch --flake ${config.home.homeDirectory}/flake#mvinkio";
V = "xrandr --output HDMI1 --auto --output eDP1 --off";
v = "xrandr --output eDP1 --auto --output HDMI1 --off";
vV = "xrandr --output eDP1 --auto --output HDMI1 --off";