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
|
|
|
|
2023-08-20 18:28:58 +00:00
|
|
|
defaultApplications = {
|
2024-02-10 12:09:59 +00:00
|
|
|
"image/png" = ["org.gnome.Loupe.desktop"];
|
2023-08-20 18:28:58 +00:00
|
|
|
"image/jpeg" = ["org.gnome.eog.desktop"];
|
|
|
|
"video/webm" = ["mpv.desktop"];
|
|
|
|
"application/pdf" = ["org.gnome.Evince.desktop"];
|
|
|
|
};
|
2023-07-31 18:08:25 +00:00
|
|
|
};
|
|
|
|
}
|