[devbox] New user for non-NixOS linux machines.
This commit is contained in:
@@ -178,6 +178,13 @@
|
||||
./users/alarm/home.nix
|
||||
];
|
||||
};
|
||||
# For machines that don't run NixOS.
|
||||
devbox = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
modules = [
|
||||
./users/devbox/home.nix
|
||||
];
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ pkgs, ... } :
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../home-modules/default.nix
|
||||
../../home-modules/nvim.nix
|
||||
../../home-modules/git.nix
|
||||
../../home-modules/lazygit.nix
|
||||
../../home-modules/starship.nix
|
||||
../../home-modules/direnv.nix
|
||||
../../home-modules/zsh.nix
|
||||
../../home-modules/tmux.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "jmug";
|
||||
homeDirectory = "/home/jmug";
|
||||
|
||||
stateVersion = "25.05";
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
homesw = "home-manager --flake /home/jmug/nixos#devbox --extra-experimental-features nix-command --extra-experimental-features flakes switch";
|
||||
};
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user