about summary refs log tree commit diff
path: root/machines/aszlig/managed/shakti.nix
blob: 00ad9542888352ddedf55b64c6522bc142022d92 (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
# FIXME: Currently just a placeholder to get Hydra builds.
{ pkgs, unfreeAndNonDistributablePkgs, lib, ... }:

{
  boot.initrd.availableKernelModules = [ "usbhid" ];
  boot.kernelModules = [ "kvm-amd" ];

  environment.systemPackages = with pkgs; [
    mosh wget krita gphoto2 digikam unfreeAndNonDistributablePkgs.dropbox
    firefox
  ];

  # TODO: fileSystems."/boot".device = "/dev/disk/by-uuid/XXX";
  # TODO: fileSystems."/boot".fsType = "vfat";

  fileSystems."/".label = "shakti-root";
  fileSystems."/".fsType = "btrfs";
  fileSystems."/".options = [
    "compress=zstd"
    "noatime"
    "space_cache"
  ];

  swapDevices = lib.singleton {
    label = "tyree-swap";
  };

  networking.hostName = "shakti";
  networking.useNetworkd = true;

  hardware.cpu.amd.updateMicrocode = true;

  nix.maxJobs = 4;

  services.xserver.xkbOptions = "eurosign:e,caps:none";
  services.xserver.libinput.enable = true;

  services.deluge.enable = true;

  vuizvui.user.aszlig.profiles.managed.enable = true;
  vuizvui.user.aszlig.profiles.managed.mainUser = "aortab";
}