home-manager/common/default.nix

53 lines
996 B
Nix
Raw Normal View History

2023-07-31 18:08:25 +00:00
{
config,
lib,
options,
specialArgs,
modulesPath,
}: {
home.stateVersion = "23.05";
home.username = "kristian";
home.homeDirectory = "/home/kristian";
home.sessionVariables = {
# Electron programms won't render correctly under wayland without this
NIXOS_OZONE_WL = 1;
};
# Keyboard Layout
2023-08-26 16:35:30 +00:00
home.keyboard.layout = "at";
2023-07-31 18:08:25 +00:00
2023-08-26 16:35:30 +00:00
imports = [
./bash.nix
./direnv.nix
./firefox.nix
./fonts.nix
./git.nix
./gnome.nix
./gpg.nix
./nvim
./packages.nix
./thunderbird.nix
./vscode.nix
./mpv.nix
2023-08-26 16:35:30 +00:00
];
2023-07-31 18:08:25 +00:00
# Programs
programs = {
home-manager.enable = true; # Allow home-manager to manage itself
obs-studio.enable = true;
yt-dlp.enable = true;
2023-08-26 16:35:30 +00:00
};
2023-07-31 18:08:25 +00:00
xdg.mimeApps = {
enable = true;
2023-08-26 16:35:30 +00:00
2023-08-20 18:28:58 +00:00
defaultApplications = {
"image/png" = ["org.gnome.eog.desktop"];
"image/jpeg" = ["org.gnome.eog.desktop"];
"video/webm" = ["mpv.desktop"];
"application/pdf" = ["org.gnome.Evince.desktop"];
};
2023-07-31 18:08:25 +00:00
};
}