mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
fix: missing files, nix.gc temp
This commit is contained in:
parent
e29aa76eac
commit
55af7c915e
5 changed files with 48 additions and 1 deletions
|
|
@ -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
14
nixos/i3.nix
Normal 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
5
nixos/motd.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
programs.rust-motd = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
12
nixos/tz.nix
Normal file
12
nixos/tz.nix
Normal 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
16
nixos/x11.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue