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 = [
|
2023-09-22 20:13:46 +00:00
|
|
|
./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
|
|
|
|
2024-02-12 14:30:17 +00:00
|
|
|
defaultApplications = let
|
|
|
|
imageViewer = ["org.gnome.Loupe.desktop"];
|
|
|
|
videoViewer = ["mpv.desktop"];
|
|
|
|
documentViewer = ["org.gnome.Evince.desktop"];
|
|
|
|
in {
|
|
|
|
"image/png" = imageViewer;
|
|
|
|
"image/jpeg" = imageViewer;
|
|
|
|
"video/webm" = videoViewer;
|
|
|
|
"application/pdf" = documentViewer;
|
2023-08-20 18:28:58 +00:00
|
|
|
};
|
2023-07-31 18:08:25 +00:00
|
|
|
};
|
|
|
|
}
|