all repos — char/flake @ a266522d7884322d03ca676c535f353b01de1502

nixos flake

profiles/onyx/base.nix (view raw)

 1{
 2  pkgs,
 3  unstable-pkgs,
 4  ...
 5}:
 6{
 7  boot.kernelPackages = unstable-pkgs.linuxPackages;
 8  boot.supportedFilesystems = [ "zfs" ];
 9  boot.zfs.package = unstable-pkgs.zfs;
10  boot.zfs.forceImportRoot = false;
11  boot.zfs.devNodes = "/dev/disk/by-id";
12  services.zfs.trim.enable = true;
13
14  networking.hostName = "onyx";
15  networking.hostId = "8db6cf97";
16  networking.hosts."104.168.4.195" = [ "api.sakana.ai" ];
17  time.timeZone = "Europe/London";
18
19  hardware.graphics.enable = true;
20
21  users.users.charlotte = {
22    isNormalUser = true;
23    description = "charlotte";
24    extraGroups = [
25      "networkmanager"
26      "wheel"
27      "video"
28    ];
29    shell = pkgs.zsh;
30  };
31
32  users.users.charlotte.packages = [
33    unstable-pkgs.zed-editor.remote_server
34  ];
35}