dotfiles/nixos/boxes/foureighty/default.nix
2020-11-01 13:41:01 +00:00

54 lines
1.3 KiB
Nix

{ config, pkgs, ... }:
{
networking.hostName = "foureighty";
imports = [
<home-manager/nixos>
./custom-kernel.nix
./hardware-configuration.nix
../../boot.nix
../../common.nix
../../gfx-intel.nix
../../zerotier.nix
../../distributed-builds.nix
../../libvirt.nix
../../backups.nix
../../gui
../../i3
../../git
../../mercurial
];
boot.kernelPackages = pkgs.linuxPackages_latest;
time.hardwareClockInLocalTime = true;
time.timeZone = "Europe/London";
hardware.trackpoint.enable = true;
services.hardware.bolt.enable = true;
services.fprintd = {
enable = true;
};
nix.nixPath = [
"nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
"home-manager=https://github.com/rycee/home-manager/archive/release-20.09.tar.gz"
];
fonts.fontconfig.enable = true;
programs.steam.enable = true;
home-manager.users.cyryl = {...}: {
imports = [
../../home-manager
];
home.stateVersion = config.system.stateVersion;
nixpkgs.overlays = config.nixpkgs.overlays;
nixpkgs.config = config.nixpkgs.config;
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-double-bat.toml;
};
}