Advertisement
sidneystreith1985

configuration.nix

May 8th, 2024 (edited)
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page, on
  3. # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
  4.  
  5. { config, lib, pkgs, ... }:
  6.  
  7. {
  8. imports =
  9. [ # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. ];
  12.  
  13. # Use the grub boot loader.
  14. boot.loader.grub.enable = true;
  15. boot.loader.grub.device = "nodev";
  16. boot.loader.grub.efiSupport = true;
  17. boot.loader.grub.efiInstallAsRemovable = true;
  18. boot.loader.efi.efiSysMountPoint = "/boot";
  19. boot.loader.efi.canTouchEfiVariables = false;
  20.  
  21.  
  22. networking.hostName = "summercamp"; # Define your hostname.
  23. # Pick only one of the below networking options.
  24. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  25. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
  26.  
  27. # Set your time zone.
  28. time.timeZone = "Europe/Berlin";
  29.  
  30. # Select internationalisation properties.
  31. i18n.defaultLocale = "de_DE.UTF-8";
  32.  
  33. i18n.extraLocaleSettings = {
  34. LC_ADDRESS = "de_DE.UTF-8";
  35. LC_IDENTIFICATION = "de_DE.UTF-8";
  36. LC_MEASUREMENT = "de_DE.UTF-8";
  37. LC_MONETARY = "de_DE.UTF-8";
  38. LC_NAME = "de_DE.UTF-8";
  39. LC_NUMERIC = "de_DE.UTF-8";
  40. LC_PAPER = "de_DE.UTF-8";
  41. LC_TELEPHONE = "de_DE.UTF-8";
  42. LC_TIME = "de_DE.UTF-8";
  43. };
  44.  
  45. # Configure console keymap
  46. console.keyMap = "de-latin1-nodeadkeys";
  47.  
  48. users.users = {
  49. sidney = {
  50. initialPassword = "s1";
  51. isNormalUser = true;
  52. description = "Sidney Streith";
  53. extraGroups = [ "networkmanager" "wheel" ];
  54. };
  55. };
  56.  
  57. # List packages installed in system profile. To search, run:
  58. # $ nix search wget
  59. environment.systemPackages = with pkgs; [
  60. git
  61. ];
  62.  
  63. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  64.  
  65. nixpkgs.config.allowUnfree = true;
  66.  
  67. system.stateVersion = "24.05";
  68.  
  69. }
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement