nix/modules/misc/default.nix
2024-08-31 15:04:04 +02:00

43 lines
1.1 KiB
Nix

{
inputs,
pkgs,
...
}: {
users.users.joy = {
isNormalUser = true;
description = "joy";
extraGroups = ["wheel" "docker"];
};
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
virtualisation.waydroid.enable = true;
programs.hyprland.enable = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
nix.settings.experimental-features = ["nix-command" "flakes"];
programs.nix-ld.enable = true;
services.printing.enable = true;
time.timeZone = "Europe/Zurich";
system.stateVersion = "23.11";
home-manager.backupFileExtension = "backup";
home-manager.users.joy.home = {
username = "joy";
homeDirectory = "/home/joy";
stateVersion = "23.11";
sessionVariables = {
};
};
home-manager.users.joy.programs.home-manager.enable = true;
home-manager.users.joy.xdg.mimeApps.defaultApplications = {
"text/plain" = ["helix.desktop"];
"image/*" = ["imv.desktop"];
"video/png" = ["mpv.desktop"];
"video/jpg" = ["mpv.desktop"];
"video/*" = ["mpv.desktop"];
};
}