Files
nixos/hosts/jeremiah/default.nix
T

39 lines
834 B
Nix
Raw Normal View History

2024-04-16 08:34:06 -05:00
# Edit this configuration file to define what should be installed on
2024-05-06 13:30:36 -05:00
# your system. Help is available in the configuration.nix(5) man page
2024-04-16 08:34:06 -05:00
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
2024-05-06 13:30:36 -05:00
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
2024-04-16 08:34:06 -05:00
2024-05-06 13:30:36 -05:00
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-04-16 08:34:06 -05:00
2024-05-06 13:30:36 -05:00
networking.hostName = "jeremiah"; # Define your hostname.
greg = {
2024-04-16 08:54:46 -05:00
home = true;
2024-05-06 13:30:36 -05:00
tailscale.enable = true;
};
environment.systemPackages = with pkgs; [
btrfs-progs
];
fileSystems = {
"/nix" = {
fsType = "btrfs";
options = [ "subvol=nix" ];
device = "/dev/nvme0n1p1";
};
"/var" = {
fsType = "btrfs";
options = [ "subvol=var" ];
device = "/dev/nvme0n1p1";
};
};
2024-04-16 08:34:06 -05:00
}