mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
kernel and unfree
This commit is contained in:
parent
ea097702c5
commit
9d10bbcf13
@ -58,4 +58,9 @@ in
|
||||
networking.hostName = "yodaTab";
|
||||
services.openssh.ports = [ 22 ];
|
||||
boot.initrd.network.ssh.port = 22;
|
||||
|
||||
# Allow unfree packages.
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
}
|
||||
|
@ -58,4 +58,21 @@ in
|
||||
networking.hostName = "yodaTux";
|
||||
services.openssh.ports = [ 22 ];
|
||||
boot.initrd.network.ssh.port = 22;
|
||||
|
||||
# Allow unfree packages.
|
||||
nixpkgs.config.allowUnfree = false;
|
||||
|
||||
# List all available kernel versions:
|
||||
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
|
||||
# Default.
|
||||
#boot.kernelPackages = pkgs.linuxPackages;
|
||||
# Latest.
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# Hardened.
|
||||
# https://archlinux.org/packages/extra/x86_64/linux-hardened/
|
||||
# -> https://github.com/anthraxx/linux-hardened
|
||||
#boot.kernelPackages = pkgs.linuxPackages_hardened;
|
||||
# Free/Libre.
|
||||
# https://en.wikipedia.org/wiki/Linux-libre
|
||||
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
||||
}
|
||||
|
@ -60,4 +60,9 @@ in
|
||||
networking.hostName = "yodaYoga";
|
||||
services.openssh.ports = [ 2224 ];
|
||||
boot.initrd.network.ssh.port = 2225;
|
||||
|
||||
# Allow unfree packages.
|
||||
nixpkgs.config.allowUnfree = false;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
}
|
||||
|
@ -46,9 +46,6 @@
|
||||
# Configure console keymap.
|
||||
console.keyMap = "de-latin1-nodeadkeys";
|
||||
|
||||
# Allow unfree packages.
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with `passwd`.
|
||||
users.users.yoda = {
|
||||
isNormalUser = true;
|
||||
|
Loading…
Reference in New Issue
Block a user