This commit is contained in:
foosinn 2020-06-11 19:13:58 +02:00
commit 8c98e8bd14
10 changed files with 633 additions and 0 deletions

40
configuration.nix Normal file
View file

@ -0,0 +1,40 @@
# 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, ... }:
{
imports =
[
<nixos-hardware/lenovo/thinkpad/x220>
<home-manager/nixos>
# Include the results of the hardware scan.
./hardware-configuration.nix
./roles/dev.nix
./roles/base.nix
./roles/desktop.nix
./roles/wireless.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "raven";
networking.hostId = "e3a397c5";
networking.useDHCP = false;
networking.interfaces.enp0s25.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Berlin";
services.openssh.enable = true;
networking.firewall.enable = true;
system.stateVersion = "20.03"; # We can stay here
}