nix: make nix actually install
This commit is contained in:
parent
2bc3ac5dce
commit
135f6d803b
6 changed files with 18 additions and 13 deletions
|
|
@ -5,6 +5,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# Nix Configuration
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -17,11 +21,11 @@
|
|||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "us";
|
||||
useXkbConfig = true; # use xkb.options in tty.
|
||||
};
|
||||
# console = {
|
||||
# font = "Lat2-Terminus16";
|
||||
# keyMap = "us";
|
||||
# useXkbConfig = true; # use xkb.options in tty.
|
||||
# };
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
|
@ -30,6 +34,10 @@
|
|||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
||||
# Enable nix-command and flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine, and is used
|
||||
# to maintain compatibility with application data (e.g. databases) created on older NixOS versions. Most
|
||||
# users should NEVER change this value after the initial install, for any reason, even if you've upgraded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue