Created
April 2, 2018 21:08
-
-
Save infinisil/2833ed4d14e6998d97d83bb23c92b730 to your computer and use it in GitHub Desktop.
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
with import <nixpkgs/nixos> { | |
configuration = { lib, ... }: { | |
services.nix-serve.enable = true; | |
systemd.services.nix-serve.serviceConfig.User = lib.mkForce "paul"; | |
fileSystems."/" = { | |
device = "/dev/disk/by-id/ata-HL-DT-ST_BD-RE_BH16NS40_K93F17B2617"; | |
fsType = "ext4"; | |
}; | |
boot.loader.grub.device = "nodev"; | |
}; | |
}; | |
config.system.build.units."nix-serve.service".unit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment