nix/modules/misc/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2024-06-05 20:52:52 +02:00
{
2024-08-21 09:02:49 +02:00
inputs,
pkgs,
...
}: {
2024-07-13 10:50:40 +02:00
2024-06-05 20:52:52 +02:00
users.users.joy = {
isNormalUser = true;
description = "joy";
2024-08-21 09:02:49 +02:00
extraGroups = ["wheel" "docker"];
};
2024-07-09 22:20:44 +02:00
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
2024-08-07 00:13:25 +02:00
virtualisation.waydroid.enable = true;
2024-07-09 22:20:44 +02:00
programs.hyprland.enable = true;
2024-08-21 09:02:49 +02:00
programs.zsh.enable = true;
2024-08-08 15:26:04 +02:00
users.defaultUserShell = pkgs.zsh;
2024-08-21 09:02:49 +02:00
nix.settings.experimental-features = ["nix-command" "flakes"];
2024-07-01 07:50:23 +02:00
programs.nix-ld.enable = true;
2024-08-15 13:46:28 +02:00
services.printing.enable = true;
2024-07-09 22:20:44 +02:00
time.timeZone = "Europe/Zurich";
2024-06-05 20:52:52 +02:00
system.stateVersion = "23.11";
2024-08-17 17:06:58 +02:00
home-manager.backupFileExtension = "backup";
2024-08-31 15:04:04 +02:00
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"];
};
2024-06-05 20:52:52 +02:00
}