Create work-laptop host
This commit is contained in:
parent
5fff35c645
commit
aa360b1a91
2 changed files with 79 additions and 0 deletions
45
hosts/work-laptop/configuration.nix
Normal file
45
hosts/work-laptop/configuration.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../configs/system.nix
|
||||
../../configs/user.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking = {
|
||||
hostName = "thebeast";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
networking.interfaces.enp0s31f6.useDHCP = true;
|
||||
networking.interfaces.wlp2s0.useDHCP = true;
|
||||
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "fr";
|
||||
};
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.permitRootLogin = "yes";
|
||||
|
||||
|
||||
home-manager.users.froidmpa = {pkgs, config, ...}: {
|
||||
services.network-manager-applet.enable = true;
|
||||
};
|
||||
# Enable touchpad support.
|
||||
services.xserver.libinput.enable = true;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue