Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Huber <[email protected]>
  • Loading branch information
maxhbr committed Feb 12, 2024
1 parent 9409421 commit 2c284ee
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
5 changes: 1 addition & 4 deletions hosts/host.workstation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{ config, pkgs, lib, myconfig, ... }: {
imports = [
./hardware-configuration.nix
./imgwork.nfs.nix
../../hardware/efi.nix
../../hardware/btrfs.nix
../../hardware/nixos-hardware/common/cpu/amd
Expand All @@ -23,10 +24,6 @@
# other profiles
./gaming
# testing
./chrootPopOS.nix
{ # for quickfix (due to usage of 20.03)
nixpkgs.config.allowBroken = true;
}
# {
# environment.systemPackages = with pkgs; [ x11vnc ];
# ## Setup via ssh tunnel:
Expand Down
22 changes: 22 additions & 0 deletions hosts/host.workstation/imgwork.nfs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ pkgs, ... }:
{
config = {
fileSystems."/export/imgwork" = {
device = "/dev/disk/by-uuid/0bdd6e1e-036d-4f98-b4bd-0c82c2b90aa2";
fsType = "ext4";
};
services.nfs.server = {
enable = true;
exports = ''
/export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,crossmnt,fsid=0)
/export/imgwork 192.168.1.0/24(rw,nohide,insecure,no_subtree_check)
'';
# /export/data 192.168.1.0/24(rw,nohide,insecure,no_subtree_check)
# /export/guest 192.168.1.0/24(rw,nohide,insecure,no_subtree_check)
statdPort = 4000;
lockdPort = 4001;
};
networking.firewall.allowedTCPPorts = [ 2049 111 4000 4001 ];
networking.firewall.allowedUDPPorts = [ 2049 111 4000 4001 ];
};
}
2 changes: 1 addition & 1 deletion modules/myconfig.desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in {

home-manager.sharedModules = [{
programs.firefox.enable = lib.mkDefault true;
programs.qutebrowser.enable = lib.mkDefault true;
programs.qutebrowser.enable = lib.mkDefault false; # BROKEN
home.packages = with pkgs; [
libnotify
xarchiver
Expand Down

0 comments on commit 2c284ee

Please sign in to comment.