about summary refs log tree commit diff
path: root/users/aspen/system/home/machines/lusca.nix
blob: 2e2604e70036bb161424ceea7467f99f3b54caa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ pkgs, lib, config, ... }:

let inherit (builtins) pathExists;
in {
  imports = [
    ../platforms/linux.nix
    ../modules/common.nix

    ../modules/email.nix
    ../modules/depot-inbox.nix
    ../modules/desktop.nix
  ] ++ (lib.optional (pathExists ../modules/private.nix)
    ../modules/private.nix);

  home.username = lib.mkForce "aspen";
  home.homeDirectory = lib.mkForce "/home/aspen";

  # for when hacking
  programs.home-manager.enable = true;
  home.stateVersion = "20.03";

  system.machine = {
    wirelessInterface = "wlp1s0";
    i3FontSize = 9;
    battery = 1;
  };

  programs.alacritty.settings.font.size = lib.mkForce 5.5;

  home.packages = with pkgs; [
    discord
    steam
    tdesktop
    slack
    (makeDesktopItem {
      name = "Ogopogo Emacs";
      desktopName = "Ogopogo Emacs";
      icon = "emacs";
      exec = "ssh -Y ogopogo emacs";
    })
  ];

  xsession.windowManager.i3.config.keybindings.XF86AudioMedia = "exec lock";
}