dotfiles/configs/thilo-laptop/nixos.nix

54 lines
994 B
Nix
Raw Normal View History

2023-11-06 23:43:36 +01:00
{
config,
pkgs,
lib,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
2023-11-11 21:52:08 +01:00
./../../nixos/common.nix
2023-11-06 23:43:36 +01:00
];
# 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
];
2023-11-11 21:52:08 +01:00
hardware.bluetooth.enable = true;
2023-11-06 23:43:36 +01:00
services = {
xserver = {
enable = true;
2023-11-11 21:52:08 +01:00
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
defaultSession = "plasmawayland";
2023-11-06 23:43:36 +01:00
layout = "us";
xkbVariant = "";
};
gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
2023-11-11 21:52:08 +01:00
blueman.enable = true;
2023-11-06 23:43:36 +01:00
};
system.stateVersion = "23.05";
}