dotfiles/nixos/boxes/foureighty/default.nix

54 lines
1.3 KiB
Nix
Raw Normal View History

2019-07-05 23:11:21 +01:00
{ config, pkgs, ... }:
{
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 = [
<home-manager/nixos>
./hardware-configuration.nix
../../boot.nix
../../common.nix
../../gfx-nvidia-optimus.nix
../../zerotier.nix
../../distributed-builds.nix
../../libvirt.nix
../../backups.nix
../../gnome
];
2020-02-22 11:11:10 +00:00
2020-07-25 09:56:03 +01:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2019-07-05 23:11:21 +01:00
2020-02-18 19:26:04 +00:00
time.hardwareClockInLocalTime = true;
time.timeZone = "Europe/London";
2019-07-05 23:11:21 +01:00
2020-07-19 17:47:31 +01:00
services.throttled.enable = true;
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-07-24 22:54:17 +01:00
nix.nixPath = [
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
"home-manager=https://github.com/rycee/home-manager/archive/master.tar.gz"
];
2020-07-24 23:27:32 +01:00
fonts.fontconfig.enable = true;
home-manager.users.cyryl = {...}: {
imports = [
2020-07-25 09:01:20 +01:00
../../home-manager
../../home-manager/gui.nix
../../home-manager/programs/git.nix
2020-07-24 23:27:32 +01:00
];
home.stateVersion = config.system.stateVersion;
nixpkgs.overlays = config.nixpkgs.overlays;
nixpkgs.config = config.nixpkgs.config;
2020-07-25 08:46:56 +01:00
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-double-bat.toml;
2020-07-24 23:27:32 +01:00
};
2020-02-18 19:26:04 +00:00
}