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-08-26 22:27:36 +00:00
|
|
|
./modules/bash.nix
|
|
|
|
./modules/direnv.nix
|
|
|
|
./modules/firefox.nix
|
|
|
|
./modules/fonts.nix
|
|
|
|
./modules/git.nix
|
|
|
|
./modules/gnome.nix
|
2023-09-04 20:46:32 +00:00
|
|
|
./modules/gpg.nix
|
2023-08-26 22:27:36 +00:00
|
|
|
./modules/nvim
|
|
|
|
./modules/packages.nix
|
|
|
|
./modules/thunderbird.nix
|
|
|
|
./modules/vscode.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
|
|
|
|
mpv.enable = true;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|