nixos/home/david/configurations/Akun/default.nix

98 lines
1.9 KiB
Nix
Raw Normal View History

2025-01-19 16:10:08 +08:00
{
pkgs,
unixName,
config,
2025-01-20 00:03:53 +08:00
rootPath,
2025-01-19 16:10:08 +08:00
...
}:
{
youthlic.programs = {
firefox.enable = true;
fuzzel.enable = true;
helix.enable = true;
gpg.enable = true;
git = {
email = "ulic.youthlic@gmail.com";
name = "ulic-youthlic";
signKey = "C6FCBD7F49E1CBBABD6661F7FC02063F04331A95";
2025-01-20 16:43:36 +08:00
encrypt-credential = true;
2025-01-19 16:10:08 +08:00
};
fish.enable = true;
bash.enable = true;
ghostty.enable = true;
starship.enable = true;
sops.enable = true;
mpv.enable = true;
2025-01-24 00:21:33 +08:00
atuin.enable = true;
2025-01-19 16:10:08 +08:00
};
david = {
wallpaper.enable = true;
2025-02-01 17:07:03 +08:00
programs.openssh.enable = true;
2025-01-19 16:10:08 +08:00
};
xdg.userDirs = {
enable = true;
download = "${config.home.homeDirectory}/dls";
documents = "${config.home.homeDirectory}/doc";
music = "${config.home.homeDirectory}/mus";
pictures = "${config.home.homeDirectory}/pic";
videos = "${config.home.homeDirectory}/vid";
templates = "${config.home.homeDirectory}/tpl";
publicShare = "${config.home.homeDirectory}/pub";
desktop = "${config.home.homeDirectory}/dsk";
createDirectories = true;
};
home.username = "${unixName}";
home.homeDirectory = "/home/${unixName}";
home.stateVersion = "24.11";
programs.home-manager.enable = true;
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-source-record
input-overlay
];
};
home.packages = with pkgs; [
tealdeer
ripgrep
fzf
file
which
gnused
gnutar
bat
gawk
zstd
tree
ouch
dust
duf
doggo
qq
telegram-desktop
ghostty
scrcpy
ast-grep
lazygit
dig
fend
gitoxide
kdePackages.kdenlive
fd
viu
just
2025-01-19 16:10:08 +08:00
];
programs.chromium = {
enable = true;
commandLineArgs = [
"--ozone-platform=wayland"
"--enable-wayland-ime=true"
"--enable-features=UseOzonePlatform"
];
};
}