102 lines
2.1 KiB
Nix
102 lines
2.1 KiB
Nix
{
|
|
config,
|
|
libs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
nix-alien-pkgs = import (
|
|
builtins.fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
|
|
) { };
|
|
in
|
|
{
|
|
imports = [
|
|
<home-manager/nixos>
|
|
./dconf.nix
|
|
];
|
|
|
|
home-manager.users.heroz =
|
|
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; with nix-alien-pkgs; [
|
|
brave
|
|
nixfmt-rfc-style
|
|
nixd
|
|
amberol
|
|
jetbrains.idea
|
|
prismlauncher
|
|
affine
|
|
bat
|
|
micro
|
|
tldr
|
|
dust
|
|
zoxide
|
|
iperf
|
|
lazydocker
|
|
nix-alien
|
|
];
|
|
|
|
# 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";
|
|
shell-integration-features = "ssh-terminfo";
|
|
};
|
|
};
|
|
|
|
programs.nushell = {
|
|
enable = true;
|
|
extraConfig = builtins.readFile ./env.nu;
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
home.stateVersion = "25.05";
|
|
};
|
|
}
|