Clean up + making sumo mac work

This commit is contained in:
Ariel Sosnovsky committed 2024-05-20 16:09:41 -04:00
1 parent c8aaf743b9
commit be571b72be
8 files changed
+42 -44

No files matched your search

+19
View File
@@ -1,8 +1,11 @@
{ user }:
{ pkgs, ... }:
{
# System Packages
services.hydra.useSubstitutes = true;
services.flatpak.enable = true;
programs.dconf.enable = true;
programs.nix-ld.enable = true;
environment.systemPackages = with pkgs; [
# nix utils
appimage-run
@@ -17,6 +20,8 @@
# misc
glib-networking
glib
glibc
# printer
system-config-printer
@@ -24,4 +29,18 @@
services.xserver.excludePackages = with pkgs; [
xterm
];
# Set your time zone.
time.timeZone = "America/Toronto";
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
# Storage Clean up
services.cron = {
enable = true;
systemCronJobs = [
"* 23 * * * root nix-collect-garbage --delete-older-than 1d"
"* 23 * * * ${user.name} nix-collect-garbage --delete-older-than 1d"
];
};
}
+3 -1
View File
@@ -11,7 +11,9 @@
{ pkgs, ... }:
{
imports = [
./core.nix
(import ./core.nix {
user = user;
})
./rootUser.nix
(import ./user.nix {
user = user;