58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{ inputs, config, lib, pkgs, outputs,... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
# Import core options
|
|
./hardware-configuration.nix
|
|
../common/core
|
|
|
|
# Import optional options
|
|
../common/optional/pipewire.nix
|
|
../common/optional/hyprland.nix
|
|
../common/optional/displayManager/sddm.nix
|
|
../common/optional/openssh.nix
|
|
|
|
# Create users for this host
|
|
../common/users/sam
|
|
|
|
];
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
outputs.overlays.additions
|
|
outputs.overlays.modifications
|
|
outputs.overlays.unstable-packages
|
|
];
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.device = "/dev/vda";
|
|
|
|
networking = {
|
|
hostName = "nixdev";
|
|
networkmanager.enable = true;
|
|
enableIPv6 = false;
|
|
};
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
services.printing.enable = true;
|
|
|
|
services.libinput.enable = true;
|
|
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|
|
|