dotfiles/hosts/pixnix/default.nix
2023-09-29 09:16:09 -05:00

42 lines
800 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;
};
servies.logind = {
lidSwitch = "suspend";
lidSwitchExternalPower = "lock";
};
xdg.portal = {
enable = true;
wlr.enable = true;
};
system.stateVersion = "23.05";
}