Created
May 12, 2021 21:38
-
-
Save Mindavi/9a7b6ca67ad19df1d9bbac7644cda8f5 to your computer and use it in GitHub Desktop.
config file ca-derivations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
{ | |
imports = | |
[ | |
#./hardware-configuration.nix | |
]; | |
# Use the systemd-boot EFI boot loader. | |
boot.loader.systemd-boot.enable = true; | |
boot.kernelPackages = pkgs.linuxPackages_latest_hardened; | |
boot.blacklistedKernelModules = [ "dvb_usb_rtl28xxu" "floppy" ]; | |
networking.hostName = "nixos-asus"; # Define your hostname. | |
networking.networkmanager.enable = true; | |
networking.useDHCP = false; | |
time.timeZone = "Europe/Amsterdam"; | |
environment.systemPackages = with pkgs; [ | |
wget | |
vim | |
htop | |
jq | |
]; | |
nix = { | |
package = pkgs.nixFlakes; | |
useSandbox = true; | |
extraOptions = '' | |
experimental-features = ca-derivations | |
''; | |
}; | |
programs.bash.enableCompletion = true; | |
nixpkgs.config.contentAddressedByDefault = true; | |
networking.firewall.enable = false; | |
services.xserver.enable = true; | |
services.xserver.layout = "us"; | |
services.xserver.libinput.enable = true; | |
services.xserver.displayManager.sddm.enable = true; | |
services.xserver.desktopManager.plasma5.enable = true; | |
users.users.test = { | |
isNormalUser = true; | |
home = "/home/test"; | |
extraGroups = [ "wheel" "networkmanager" "dialout" ]; | |
initialPassword = "test"; | |
}; | |
system.stateVersion = "20.09"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment