This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/hosts/citadel/default.nix

37 lines
728 B
Nix
Raw Normal View History

2024-03-23 04:58:14 -05:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config
, lib
, pkgs
, ...
}: {
2024-03-25 07:37:21 -05:00
2024-03-24 21:56:47 -05:00
config = {
mySystem = {
services.openssh.enable = true;
security.wheelNeedsSudoPassword = false;
};
2024-03-23 04:58:14 -05:00
2024-03-24 21:56:47 -05:00
networking.hostName = "citadel"; # Define your hostname.
2024-03-23 04:58:14 -05:00
2024-03-24 21:56:47 -05:00
fileSystems."/" =
{
2024-03-25 06:51:18 -05:00
device = "/dev/disk/by-uuid/701fc943-ede7-41ed-8a53-3cc38fc68fe5";
2024-03-24 21:56:47 -05:00
fsType = "ext4";
};
2024-03-23 04:58:14 -05:00
2024-03-24 21:56:47 -05:00
fileSystems."/boot" =
{
2024-03-25 06:51:18 -05:00
device = "/dev/disk/by-uuid/1D5B-36D3";
2024-03-24 21:56:47 -05:00
fsType = "vfat";
};
2024-03-23 04:58:14 -05:00
2024-03-24 21:56:47 -05:00
swapDevices = [ ];
2024-03-23 04:58:14 -05:00
};
}