61 lines
2.0 KiB
Nix
61 lines
2.0 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ config, pkgs, lib, ... }:
|
||
|
||
{
|
||
imports = [ # Include the results of the hardware scan and modules
|
||
./hardware-configuration.nix
|
||
./../../modules/desktop.nix
|
||
./../../modules/secrets.nix
|
||
./../../modules/security.nix
|
||
./../../modules/unfree.nix
|
||
./../../modules/users.nix
|
||
#./../../modules/wifi.nix
|
||
];
|
||
|
||
networking.hostName = "t440p";
|
||
networking.networkmanager.enable = true;
|
||
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
boot.initrd.luks.devices."luks-1c04b05d-0ddf-429a-95c3-1f5fdb570207".device = "/dev/disk/by-uuid/1c04b05d-0ddf-429a-95c3-1f5fdb570207";
|
||
|
||
# Set time zone and internationalisation
|
||
time.timeZone = "Europe/Berlin";
|
||
i18n.defaultLocale = "de_DE.UTF-8";
|
||
i18n.extraLocaleSettings = {
|
||
LC_ADDRESS = "de_DE.UTF-8";
|
||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||
LC_MONETARY = "de_DE.UTF-8";
|
||
LC_NAME = "de_DE.UTF-8";
|
||
LC_NUMERIC = "de_DE.UTF-8";
|
||
LC_PAPER = "de_DE.UTF-8";
|
||
LC_TELEPHONE = "de_DE.UTF-8";
|
||
LC_TIME = "de_DE.UTF-8";
|
||
};
|
||
|
||
console.keyMap = "de";
|
||
|
||
# List packages installed in system profile.
|
||
# To search, run: $ nix search wget
|
||
environment.systemPackages = with pkgs; [
|
||
wget
|
||
curl
|
||
git
|
||
vim
|
||
tree
|
||
];
|
||
|
||
# This value determines the NixOS release from which the default
|
||
# settings for stateful data, like file locations and database versions
|
||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||
# this value at the release version of the first install of this system.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "25.05"; # Did you read the comment?
|
||
|
||
}
|