blob: e51bdd1f2c7acb1129d774696b10f6ce717deeb1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ pkgs, ... }:
{
imports = [
../modules/workstation/physical
../modules/workstation/hardware/pixelbook
];
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = [ "nvme" "usb_storage" "sdhci_pci" ];
boot.kernelModules = [ "kvm-intel" ];
boot.loader.grub.device = "/dev/disk/by-id/nvme-SAMSUNG_KUS040205M-B001_S3VBNY0KA60897";
fileSystems."/" = { fsType = "zfs"; device = "rpool/local/root"; };
fileSystems."/tmp" = { fsType = "zfs"; device = "rpool/local/tmp"; };
fileSystems."/nix" = { fsType = "zfs"; device = "rpool/local/nix"; };
fileSystems."/home" = { fsType = "zfs"; device = "rpool/data/home"; };
fileSystems."/state" = { fsType = "zfs"; device = "rpool/data/state"; };
fileSystems."/boot" = {
fsType = "ext4";
device = "/dev/disk/by-uuid/ecbd0da4-29f4-4a3b-adde-6c365b405863";
};
# TODO: do this with ZFS
boot.cleanTmpDir = true;
networking.hostName = "eve";
networking.hostId = "c00b7876";
nix.maxJobs = 4;
console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
programs.sway.extraConfig = ''
output eDP-1 scale 2
'';
users.users.qyliss.hashedPassword = "$5$rounds=2000000$FPrRi1TT.rCn$8MhcwE7JL8yTKI.fSRe4ZgJP3eumStDCNl5Pb.IN9i5";
system.stateVersion = "20.03";
}
|