fix: missing files, nix.gc temp

This commit is contained in:
Kat Inskip 2023-01-29 08:46:10 -08:00
parent e29aa76eac
commit 55af7c915e
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 48 additions and 1 deletions

View file

@ -7,7 +7,7 @@ in {
};
nix.gc = {
automatic = mkDefault true;
automatic = mkDefault false;
dates = mkDefault "weekly";
options = mkDefault "--delete-older-than 7d";
};

14
nixos/i3.nix Normal file
View file

@ -0,0 +1,14 @@
_: let
super = "Mod4";
in {
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = super;
fonts = [ ];
};
bars = [
];
};
}

5
nixos/motd.nix Normal file
View file

@ -0,0 +1,5 @@
_: {
programs.rust-motd = {
enable = true;
};
}

12
nixos/tz.nix Normal file
View file

@ -0,0 +1,12 @@
_: {
services.tzupdate.enable = true;
systemd.timers.tzupdate = {
description = "Attempt to update timezone every hour";
timerConfig = {
OnBootSec="1m";
OnUnitInactiveSec="1h";
Unit = "tzupdate.service";
};
wantedBy = [ "timers.target" ];
};
}

16
nixos/x11.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }: {
services.xserver = {
enable = true;
autorun = false;
exportConfiguration = true;
in {
startx.enable = true;
};
};
environment.systemPackages = with pkgs; [
xorg.xinit
xsel
scrot
];
}