dotfiles/nixos/boxes/foureighty/default.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2022-03-02 12:45:32 +00:00
{ config, pkgs, inputs, lib, nixpkgs-nixos-unstable-and-unfree, ... }:
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
./tailscale-foureighty.nix
2020-07-25 09:56:03 +01:00
../../boot.nix
../../common.nix
2021-06-12 15:18:43 +01:00
../../tailscale.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" ];
};
2022-03-02 12:45:32 +00:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2021-12-04 10:43:02 +00:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 75;
};
2020-02-18 19:26:04 +00:00
time.timeZone = "Europe/London";
2019-07-05 23:11:21 +01:00
2021-10-10 09:09:38 +01:00
virtualisation.kvmgt = {
enable = true;
device = "0000:00:02.0";
};
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;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2021-07-18 18:53:01 +01:00
hardware.video.hidpi.enable = lib.mkDefault true;
2020-02-18 19:26:04 +00:00
services.fprintd = {
enable = true;
};
2019-07-06 12:03:30 +01:00
2021-11-22 19:32:26 +00:00
home-manager.users.cyryl = { ... }: {
2021-09-18 10:18:35 +01:00
imports = [
../../home-manager/programs/kitty.nix
];
home.packages = [
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".bisq-desktop
];
2021-05-30 20:41:33 +01:00
};
2020-02-18 19:26:04 +00:00
}