2019-04-21 10:18:35 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
networking.hostName = "skinnyv";
|
2020-01-03 14:28:53 +00:00
|
|
|
|
2020-07-25 11:57:23 +01:00
|
|
|
imports = [
|
|
|
|
<home-manager/nixos>
|
|
|
|
/etc/nixos/hardware-configuration.nix
|
|
|
|
../../boot.nix
|
|
|
|
../../common.nix
|
|
|
|
../../gfx-intel.nix
|
|
|
|
../../zerotier.nix
|
|
|
|
../../i3/system.nix
|
|
|
|
../../distributed-builds.nix
|
|
|
|
../../gui
|
|
|
|
../../git
|
|
|
|
];
|
|
|
|
|
2019-04-26 07:53:13 +01:00
|
|
|
boot = {
|
2020-05-19 20:07:56 +01:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2020-04-29 11:00:10 +01:00
|
|
|
initrd.luks.devices = {
|
|
|
|
root =
|
|
|
|
{
|
|
|
|
device = "/dev/disk/by-uuid/ef6e91d9-c477-4ab7-ae39-4a0ee413cebe";
|
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
|
|
|
};
|
|
|
|
};
|
2019-07-07 12:08:00 +01:00
|
|
|
loader.grub = {
|
|
|
|
device = "nodev";
|
|
|
|
efiSupport = true;
|
|
|
|
};
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
2019-04-26 09:04:38 +01:00
|
|
|
};
|
2019-07-07 12:08:00 +01:00
|
|
|
time.timeZone = "Europe/London";
|
2019-04-26 11:30:22 +01:00
|
|
|
|
2020-07-28 07:38:50 +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-25 08:26:12 +01:00
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
home-manager.users.cyryl = {...}: {
|
|
|
|
imports = [
|
2020-07-28 07:38:50 +01:00
|
|
|
../../home-manager
|
|
|
|
../../i3/home.nix
|
2020-07-25 08:26:12 +01:00
|
|
|
];
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
|
|
|
|
|
|
nixpkgs.overlays = config.nixpkgs.overlays;
|
|
|
|
nixpkgs.config = config.nixpkgs.config;
|
2020-07-25 08:51:19 +01:00
|
|
|
|
|
|
|
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-single-bat.toml;
|
2020-07-25 08:26:12 +01:00
|
|
|
};
|
|
|
|
|
2019-07-07 12:08:00 +01:00
|
|
|
}
|