home-manager/systems/common/default.nix
Kristian Krsnik a2cd8d467f
restructured
* laptop, pc and common now live in systems
* new dev shell to run dconf2nix
* New dconf weather entry (currently not functional)
2023-09-25 20:02:11 +02:00

53 lines
996 B
Nix

{
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
home.keyboard.layout = "at";
imports = [
./bash.nix
./direnv.nix
./firefox.nix
./fonts.nix
./git.nix
./gnome.nix
./gpg.nix
./nvim
./packages.nix
./thunderbird.nix
./vscode.nix
./mpv.nix
];
# Programs
programs = {
home-manager.enable = true; # Allow home-manager to manage itself
obs-studio.enable = true;
yt-dlp.enable = true;
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"image/png" = ["org.gnome.eog.desktop"];
"image/jpeg" = ["org.gnome.eog.desktop"];
"video/webm" = ["mpv.desktop"];
"application/pdf" = ["org.gnome.Evince.desktop"];
};
};
}