dotfiles/home/machines/laptop.nix

49 lines
993 B
Nix
Raw Permalink Normal View History

2022-06-02 05:08:38 +02:00
{ config, lib, pkgs, overlays, ... }:
2020-06-17 03:03:43 +02:00
{
2022-06-02 05:08:38 +02:00
nixpkgs.overlays = overlays;
2022-06-02 03:32:14 +02:00
nixpkgs.config.allowUnfreePredicate = (pkg: true);
2022-06-02 05:08:38 +02:00
nixpkgs.config.allowUnfree = true;
2022-06-02 03:32:14 +02:00
2020-06-17 03:03:43 +02:00
imports = [ ../profiles ];
machine = {
name = "DanixLaptop";
2021-08-20 19:20:18 +02:00
eth = "enp0s31f6";
wlan = "wlp5s0";
cores = 4;
2020-06-17 03:03:43 +02:00
};
profiles.base.enable = true;
profiles.base.plus = true;
profiles.gui.enable = true;
2020-06-17 03:03:43 +02:00
profiles.xsession.enable = true;
profiles.zsh.enable = true;
2022-04-02 03:03:20 +02:00
services.gammastep = {
enable = true;
2022-04-02 03:09:59 +02:00
dawnTime = "7:00-8:15";
2022-04-02 03:03:20 +02:00
duskTime = "21:30-22:30";
};
2024-08-13 02:17:31 +02:00
services.activitywatch = {
enable = true;
watchers = {
aw-watcher-afk = {
package = pkgs.activitywatch;
settings = {
timeout = 300;
poll_time = 2;
};
};
aw-watcher-window = {
package = pkgs.activitywatch;
settings = {
poll_time = 1;
# exclude_title = true;
};
};
};
};
profiles.games.enable = true;
2020-06-17 03:03:43 +02:00
}