Add vmware to system, simplify homedir logic, add more Hidden
This commit is contained in:
parent
f75eec5484
commit
04560dfbc5
10 changed files with 37 additions and 17 deletions
|
@ -16,6 +16,8 @@
|
|||
"school/.config/com.yuezk.qt"
|
||||
"school/.config/remmina"
|
||||
"school/.config/teams-for-linux"
|
||||
"school/.vmware"
|
||||
"school/vmware"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "${config.home.homeDirectory}/Projects/nixos-config";
|
||||
flake = "${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}/dirs/Projects/nixos-config";
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
allowOther = false;
|
||||
removePrefixDirectory = true;
|
||||
directories = [
|
||||
"home/Keepers"
|
||||
"home/Projects"
|
||||
"dirs/Keepers"
|
||||
"dirs/Projects"
|
||||
|
||||
"nix/.local/state/nix/profiles"
|
||||
"secure/.ssh"
|
||||
] ++ (if config.home.desktop.enable then [
|
||||
"home/Documents"
|
||||
"home/Games"
|
||||
"home/Photos"
|
||||
"home/Videos"
|
||||
"dirs/Documents"
|
||||
"dirs/Games"
|
||||
"dirs/Photos"
|
||||
"dirs/Videos"
|
||||
|
||||
"secure/.pki"
|
||||
"state/.local/state/wireplumber"
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
./ssh
|
||||
./tlp
|
||||
./userborn
|
||||
./vmware
|
||||
];
|
||||
}
|
||||
|
|
13
modules/system/services/general/vmware/default.nix
Normal file
13
modules/system/services/general/vmware/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.virtualisation.vmware.host.enable {
|
||||
virtualisation.vmware.host = {
|
||||
extraConfig = ''
|
||||
mks.gl.allowUnsupportedDrivers = "TRUE"
|
||||
mks.vk.allowUnsupportedDevices = "TRUE"
|
||||
'';
|
||||
};
|
||||
|
||||
nixpkgs.allowUnfreePackages = [ "vmware-workstation" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue