Commit 8fbd5f853c8c
Changed files (3)
systems
common
services
users
systems/common/services/docker.nix
@@ -1,5 +1,6 @@
{ pkgs, ... }:
{
+ system.nixos.tags = [ "docker" ];
virtualisation = {
docker = {
enable = true;
systems/common/services/libvirt.nix
@@ -1,5 +1,6 @@
{ lib, pkgs, ... }:
{
+ system.nixos.tags = [ "libvirt" ];
boot.kernelParams = [ "kvm_intel.nested=1" ];
environment.etc."modprobe.d/kvm.conf".text = ''
options kvm_intel nested=1
systems/common/users/default.nix
@@ -1,4 +1,4 @@
-{ config, ... }:
+{ lib, config, ... }:
{
# Default users, to create everywhere
imports = [
@@ -11,7 +11,7 @@
- This machine is managed by NixOS
- All changes are futile
- OS: Nixos ${system.nixos.release} (${system.nixos.codeName})
+ OS: Nixos ${system.nixos.release} (${system.nixos.codeName}) [${lib.strings.concatStrings system.nixos.tags}]
Version: ${system.nixos.version}
Kernel: ${boot.kernelPackages.kernel.version}
'';