configurations fix, working on display switching

This commit is contained in:
Pavel Kachalouski
2019-04-23 12:54:50 +02:00
parent 4ff1b7524c
commit be96153754
7 changed files with 61 additions and 15 deletions

View File

@@ -9,6 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./security.nix
./monitor-hotplug.nix
];
# Use the systemd-boot EFI boot loader.
@@ -107,7 +108,6 @@
xautolock
squashfsTools
#skypeforlinux
atom
vscode
rpm
unzip
@@ -127,7 +127,13 @@
p7zip
zlib.static
zlib.dev
llvm
clang
gcc
libunwind.out
libunwind.dev
re2
robo3t
#nextcloud-client
cmake
gnumake
@@ -203,13 +209,13 @@
isNormalUser = true;
uid = 1000;
shell = pkgs.fish;
extraGroups = ["audio" "networkmanager" "wireshark" "vboxusers"];
extraGroups = ["audio" "networkmanager" "wireshark" "vboxusers" "wheel"];
};
fileSystems."/export/development" = {
device = "/home/nnm/development";
options = [ "bind" ];
};
#fileSystems."/export/development" = {
# device = "/home/nnm/development";
# options = [ "bind" ];
#};
fileSystems."/mnt/Downloads-pc" = {
device = "192.168.1.2:/Downloads";
@@ -217,11 +223,12 @@
options = ["x-systemd.automount,noauto"];
};
services.nfs.server.enable = true;
services.nfs.server.exports = ''
/export 192.168.1.2(rw,fsid=0,no_subtree_check)
/export/development 192.168.1.2(rw,nohide,insecure,no_subtree_check)
'';
# NFS server
#services.nfs.server.enable = true;
#services.nfs.server.exports = ''
# /export 192.168.1.2(rw,fsid=0,no_subtree_check)
# /export/development 192.168.1.2(rw,nohide,insecure,no_subtree_check)
#'';
#virtualisation.virtualbox.host.enable = true;
#virtualisation.virtualbox.host.enableExtensionPack = true;