Compare commits
2 commits
d0893f0b0a
...
dfcd383c50
Author | SHA1 | Date | |
---|---|---|---|
Jimbo | dfcd383c50 | ||
Jimbo | 812e8d8525 |
|
@ -50,7 +50,7 @@
|
|||
look = import ./extras/look.nix;
|
||||
ws = import ./extras/workspaces.nix;
|
||||
|
||||
# NixOS configuration entrypointm use 'nixos-rebuild --flake .#your-hostname'
|
||||
# NixOS configuration entrypoint, use 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
JimDesktop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
|
|
|
@ -14,21 +14,13 @@
|
|||
];
|
||||
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
config.allowUnfree = true;
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.selfsuper
|
||||
outputs.overlays.finalprev
|
||||
inputs.blender-bin.overlays.default
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
allowUnfreePredicate = _: true;
|
||||
};
|
||||
};
|
||||
|
||||
# Common programs I'll need everywhere
|
||||
|
|
|
@ -98,11 +98,6 @@ in {
|
|||
fsType = "nfs4";
|
||||
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
|
||||
};
|
||||
"/home/jimbo/FreecornNFS" = {
|
||||
device = "${outputs.secrets.cornIP}:/export/freecornNFS";
|
||||
fsType = "nfs4";
|
||||
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
|
||||
};
|
||||
};
|
||||
|
||||
# Set the swap partition
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
# NFS server
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
# Needed to make NAT work
|
||||
networking.firewall.trustedInterfaces = [
|
||||
virbr0
|
||||
virbr1
|
||||
"virbr0"
|
||||
"virbr1"
|
||||
];
|
||||
|
||||
# Allow Looking-Glass permissions
|
||||
|
|
Loading…
Reference in a new issue