dotfiles/nixos/boxes/foureighty/default.nix

48 lines
1,006 B
Nix
Raw Normal View History

2021-05-30 20:41:33 +01:00
{ config, pkgs, inputs, ... }:
2019-07-05 23:11:21 +01:00
{
2019-07-07 12:08:00 +01:00
networking.hostName = "foureighty";
2019-12-24 19:13:52 +00:00
2020-07-25 09:56:03 +01:00
imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
2020-07-25 09:56:03 +01:00
./hardware-configuration.nix
../../boot.nix
../../common.nix
2020-07-29 20:25:47 +01:00
../../gfx-intel.nix
2021-06-12 15:18:43 +01:00
../../tailscale.nix
./tailscale-foureighty.nix
2020-07-25 09:56:03 +01:00
../../distributed-builds.nix
../../libvirt.nix
../../backups.nix
2020-07-25 10:09:10 +01:00
../../gui
2020-08-16 11:39:21 +01:00
../../i3
2020-07-25 11:57:23 +01:00
../../git
2020-08-01 10:16:16 +01:00
../../mercurial
2020-07-25 09:56:03 +01:00
];
2020-02-22 11:11:10 +00:00
2021-06-26 21:30:07 +01:00
fileSystems."/" = {
options = [ "compress=zstd" ];
};
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 75;
};
2021-05-21 19:39:21 +01:00
boot.kernelPackages = pkgs.linuxPackages_latest_hardened;
2020-02-18 19:26:04 +00:00
time.timeZone = "Europe/London";
2019-07-05 23:11:21 +01:00
2020-07-25 09:56:03 +01:00
hardware.trackpoint.enable = true;
2020-02-18 19:26:04 +00:00
services.hardware.bolt.enable = true;
services.fprintd = {
enable = true;
};
2019-07-06 12:03:30 +01:00
2020-12-21 14:24:42 +00:00
fonts.fontconfig.enable = true;
programs.steam.enable = true;
2020-07-24 23:27:32 +01:00
2021-05-30 20:41:33 +01:00
home-manager.users.cyryl = {...}: {
home.packages = [ inputs.bisq.legacyPackages."x86_64-linux".bisq-desktop ];
};
2020-02-18 19:26:04 +00:00
}