mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
enable bluetooth, misc settings
This commit is contained in:
parent
b2e3cc27b5
commit
8197774471
|
@ -22,11 +22,14 @@ in {
|
||||||
|
|
||||||
config = lib.mkIf isEnabled {
|
config = lib.mkIf isEnabled {
|
||||||
services = {
|
services = {
|
||||||
# Enable the X11 windowing system / wayland depending on DE
|
|
||||||
xserver.enable = true;
|
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
|
|
||||||
|
xserver = {
|
||||||
|
# Enable the X11 windowing system / wayland depending on DE
|
||||||
|
enable = true;
|
||||||
|
libinput.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
|
|
|
@ -35,6 +35,8 @@ in {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.steam-hardware.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
steam = {
|
steam = {
|
||||||
|
|
|
@ -36,5 +36,10 @@ in {
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.bluezFull;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,5 +38,13 @@ in {
|
||||||
dates = "monthly";
|
dates = "monthly";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
documentation = {
|
||||||
|
enable = true; # documentation of packages
|
||||||
|
nixos.enable = false; # nixos documentation
|
||||||
|
man.enable = true; # manual pages and the man command
|
||||||
|
info.enable = false; # info pages and the info command
|
||||||
|
doc.enable = false; # documentation distributed in packages' /share/doc
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue