mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-31 07:05:02 +00:00
wsl-specific module
This commit is contained in:
1 parent
cfe3c137ba
commit
3015f29f3b
2 files changed
+14
No files matched your search
@@ -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