Nix-Config/modules/home/nyxerinys/default.nix

41 lines
No EOL
948 B
Nix

{ pkgs, ... }:
{
imports = if pkgs.stdenv.isLinux
then [ ./linux ]
else [ ./mac ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home = {
username = "nyxerinys";
homeDirectory = (
if pkgs.stdenv.isLinux then
"/home/nyxerinys"
else
"/Users/nyxerinys"
);
packages = with pkgs; [
prismlauncher
sops
age
ssh-to-age
tmux
];
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "26.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}