Skip to content

Commit

Permalink
feat(nixos/nobinsh): use switch.enableNg
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-huan committed Jun 8, 2024
1 parent 01cb2d7 commit 12ae15d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nixos/nobinsh.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, options, ... }:
{ lib, pkgs, options, ... }:

{
# strictly speaking, unnecessary
Expand All @@ -22,11 +22,7 @@
# see nixos/modules/system/activation/switchable-system.nix
system = {
switch.enable = false;
inherit ((import "${modulesPath}/system/activation/switchable-system.nix"
{
inherit config lib;
pkgs = pkgs // { perl = pkgs.perl'; };
}).config.content.system) activatableSystemBuilderCommands;
switch.enableNg = true;
};
services.displayManager.sddm.settings = {
X11.XephyrPath = "${pkgs.xorg.xorgserver'.out}/bin/Xephyr";
Expand Down

0 comments on commit 12ae15d

Please sign in to comment.