dotfiles/configs/thilo-laptop/nixos.nix

59 lines
1.1 KiB
Nix

{
config,
pkgs,
lib,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos/common.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
networking.hostName = "thilo-laptop"; # Define your hostname.
# Configure console keymap
console.keyMap = "de";
environment.gnome.excludePackages = with pkgs; [
tracker
tracker-miners
];
hardware.bluetooth.enable = true;
services = {
xserver = {
enable = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
displayManager.defaultSession = "plasmawayland";
layout = "us";
xkbVariant = "";
};
gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
blueman.enable = true;
fwupd.enable = true;
};
environment.systemPackages = with pkgs; [
brlaser
brgenml1lpr
];
system.stateVersion = "23.05";
}