mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 09:10:14 +00:00
wsl-specific module
This commit is contained in:
13
modules/wsl/default.nix
Normal file
13
modules/wsl/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
services.geoclue2.enable = lib.mkForce false;
|
||||
location = { provider = lib.mkForce "manual"; };
|
||||
services.localtimed.enable = lib.mkForce false;
|
||||
|
||||
# Replace config directory with our repo
|
||||
system.activationScripts.configDir.text = ''
|
||||
rm -rf /etc/nixos
|
||||
ln --symbolic --no-dereference --force ${config.dotfilesPath} /etc/nixos
|
||||
'';
|
||||
|
||||
}
|
Reference in New Issue
Block a user