Moved some os settings to new setup
This commit is contained in:
1 parent
3bfe90e7ef
commit
93d31e99b0
6 files changed
+97
-55
No files matched your search
@@ -1,49 +0,0 @@
|
||||
{ user }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# System Packages
|
||||
services.hydra.useSubstitutes = true;
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
port = 5000;
|
||||
};
|
||||
programs.dconf.enable = true;
|
||||
programs.nix-ld.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
# nix utils
|
||||
appimage-run
|
||||
|
||||
# shell tools
|
||||
git
|
||||
usbutils
|
||||
htop
|
||||
|
||||
# system utils
|
||||
nfs-utils
|
||||
|
||||
# misc
|
||||
glib-networking
|
||||
glib
|
||||
glibc
|
||||
|
||||
# printer
|
||||
system-config-printer
|
||||
];
|
||||
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"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -11,7 +11,6 @@
|
||||
}:
|
||||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
(import ./core.nix { user = user; })
|
||||
(import ./user.nix { user = user; })
|
||||
(import ./containers/default.nix ({
|
||||
user = user;
|
||||
|
||||
Reference in new issue
Block a user