dotfiles/hosts/pixnix/default.nix

43 lines
801 B
Nix
Raw Normal View History

2023-09-24 00:14:49 +00:00
{ pkgs, inputs, ... }: {
imports = [
inputs.hardware.nixosModules.common-cpu-intel
inputs.hardware.nixosModules.common-pc-ssd
2023-09-23 23:03:35 +00:00
2023-09-24 00:14:49 +00:00
./hardware-configuration.nix
2023-09-23 23:03:35 +00:00
2023-09-24 00:14:49 +00:00
../common/global
../common/users/john
2023-09-23 23:03:35 +00:00
2023-09-24 00:14:49 +00:00
../common/optional/docker.nix
2023-09-29 14:16:09 +00:00
#../common/optional/gnome.nix
2023-09-24 02:16:50 +00:00
../common/optional/libvirtd.nix
2023-09-25 00:00:27 +00:00
../common/optional/pipewire.nix
2023-09-25 01:05:18 +00:00
../common/optional/printing.nix
2023-09-24 02:08:45 +00:00
../common/optional/sshd.nix
2023-09-24 00:14:49 +00:00
];
2023-09-23 23:03:35 +00:00
2023-09-24 00:14:49 +00:00
networking = {
hostName = "pixnix";
networkmanager.enable = true;
2023-09-23 23:03:35 +00:00
};
2023-09-29 14:16:09 +00:00
programs = {
light.enable = true;
adb.enable = true;
dconf.enable = true;
};
2023-09-30 18:14:30 +00:00
services.logind = {
2023-09-29 14:16:09 +00:00
lidSwitch = "suspend";
lidSwitchExternalPower = "lock";
};
xdg.portal = {
enable = true;
wlr.enable = true;
};
2023-09-24 00:14:49 +00:00
system.stateVersion = "23.05";
2023-09-23 23:03:35 +00:00
}