nixos/home.nix
2026-03-27 13:36:37 +01:00

95 lines
1.8 KiB
Nix

{
config,
libs,
pkgs,
...
}:
{
imports = [
<home-manager/nixos>
./dconf.nix
];
home-manager.users.heroz =
{ pkgs, ... }:
{
home.packages = with pkgs; [
brave
nixfmt-rfc-style
nixd
amberol
jetbrains.idea
prismlauncher
affine
bat
micro
tldr
dust
zoxide
iperf
];
# Fix duplicate brave entry in gnome apps
xdg.desktopEntries = {
"com.brave.Browser" = {
name = "Brave";
noDisplay = true;
};
"org.prismlauncher.PrismLauncher" = {
name = "Prism Launcher";
exec = "prismlauncher -d /storage/Jeux/PrismLauncher-8.4 %U";
comment = "Discover, manage, and play Minecraft instances";
type = "Application";
terminal = false;
startupNotify = true;
icon = "org.prismlauncher.PrismLauncher";
};
};
programs.vscode = {
enable = true;
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"a8" = {
user = "heroz";
};
# ubuntu vm
"192.168.122.85" = {
user = "heroz";
};
};
};
programs.vesktop = {
enable = true;
};
programs.git = {
enable = true;
settings.user = {
name = "HerozDotExe";
email = "herozdotexe@gmail.com";
};
};
programs.ghostty = {
enable = true;
settings = {
theme = "Adwaita Dark";
};
};
programs.nushell = {
enable = true;
extraConfig = builtins.readFile ./env.nu;
};
nixpkgs.config.allowUnfree = true;
home.stateVersion = "25.05";
};
}