mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 18:12:18 +00:00
42 lines
801 B
Nix
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";
|
|
|
|
}
|