~cyplo/dotfiles

ref: a666dbea18baf738decaec41dbb4c0525deab74e dotfiles/nixos/boxes/foureighty/default.nix -rw-r--r-- 1023 bytes
a666dbea — Cyryl Płotnicki nvidia driver on foureighty 3 months ago
                                                                                
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
45
46
47
48
{ config, pkgs, inputs, ... }:
{
  networking.hostName = "foureighty";

  imports = [
    inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
    ./hardware-configuration.nix
    ./nvidia.nix
    ../../boot.nix
    ../../common.nix
    ../../gfx-intel.nix
    ../../tailscale.nix
    ./tailscale-foureighty.nix
    ../../distributed-builds.nix
    ../../libvirt.nix
    ../../backups.nix
    ../../gui
    ../../i3
    ../../git
    ../../mercurial
  ];

  fileSystems."/" = {
    options = [ "compress=zstd" ];
  };

  zramSwap = {
    enable = true;
    algorithm = "zstd";
    memoryPercent = 75;
  };

  boot.kernelPackages = pkgs.linuxPackages_latest_hardened;
  time.timeZone = "Europe/London";

  hardware.trackpoint.enable = true;
  services.hardware.bolt.enable = true;
  services.fprintd = {
    enable = true;
  };

  fonts.fontconfig.enable = true;
  programs.steam.enable = true;

  home-manager.users.cyryl = {...}: {
    home.packages = [ inputs.bisq.legacyPackages."x86_64-linux".bisq-desktop ];
  };
}