dotfiles/hosts/pixnix/default.nix
2023-09-30 13:14:30 -05:00

42 lines
801 B
Nix

{ pkgs, inputs, ... }: {
imports = [
inputs.hardware.nixosModules.common-cpu-intel
inputs.hardware.nixosModules.common-pc-ssd
./hardware-configuration.nix
../common/global
../common/users/john
../common/optional/docker.nix
#../common/optional/gnome.nix
../common/optional/libvirtd.nix
../common/optional/pipewire.nix
../common/optional/printing.nix
../common/optional/sshd.nix
];
networking = {
hostName = "pixnix";
networkmanager.enable = true;
};
programs = {
light.enable = true;
adb.enable = true;
dconf.enable = true;
};
services.logind = {
lidSwitch = "suspend";
lidSwitchExternalPower = "lock";
};
xdg.portal = {
enable = true;
wlr.enable = true;
};
system.stateVersion = "23.05";
}