dotfiles/configs/thilo-laptop/nixos.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2024-02-27 02:54:02 +01:00
{ pkgs, ... }:
2023-11-06 23:43:36 +01:00
{
2024-02-27 02:54:02 +01:00
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos/common.nix
];
2023-11-06 23:43:36 +01:00
# Bootloader.
2024-02-27 02:54:02 +01:00
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
2023-11-06 23:43:36 +01:00
# Setup keyfile
2024-02-27 02:54:02 +01:00
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
2023-11-06 23:43:36 +01:00
networking.hostName = "thilo-laptop"; # Define your hostname.
# Configure console keymap
console.keyMap = "de";
2024-02-27 02:54:02 +01:00
environment.gnome.excludePackages = with pkgs; [ tracker tracker-miners ];
2023-11-06 23:43:36 +01:00
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;
2024-03-01 22:48:16 +01:00
displayManager.defaultSession = "plasma";
desktopManager.plasma6.enable = true;
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;
fwupd.enable = true;
2023-11-06 23:43:36 +01:00
};
2024-03-01 22:48:16 +01:00
programs.kdeconnect.enable = true;
2024-02-27 02:54:02 +01:00
environment.systemPackages = with pkgs; [ brlaser brgenml1lpr ];
2024-02-22 16:38:29 +01:00
2023-11-06 23:43:36 +01:00
system.stateVersion = "23.05";
}