nixos/hosts/nixdev/default.nix

58 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2024-05-16 11:55:24 +01:00
{ inputs, config, lib, pkgs, outputs,... }:
2024-05-08 00:45:54 +01:00
{
imports =
[
2024-05-12 19:58:55 +01:00
# Import core options
2024-05-08 00:45:54 +01:00
./hardware-configuration.nix
2024-05-12 19:58:55 +01:00
../common/core
# Import optional options
2024-05-11 20:55:27 +01:00
../common/optional/pipewire.nix
../common/optional/hyprland.nix
../common/optional/displayManager/sddm.nix
2024-05-12 19:58:55 +01:00
../common/optional/openssh
# Create users for this host
../common/users/sam
2024-05-08 00:45:54 +01:00
];
2024-05-09 12:03:13 +01:00
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
2024-05-08 00:45:54 +01:00
};
};
2024-05-09 12:03:13 +01:00
2024-05-08 00:45:54 +01:00
nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
2024-05-15 19:44:13 +01:00
networking = {
hostName = "nixdev";
networkmanager.enable = true;
enableIPv6 = false;
};
2024-05-08 00:45:54 +01:00
time.timeZone = "Europe/London";
services.printing.enable = true;
services.libinput.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
system.stateVersion = "23.11";
}