Compare commits
No commits in common. "dfcd383c50f207b1c8a150aa2d4365a814f7fb2b" and "d0893f0b0a76c205a202940397a10a781c0990f0" have entirely different histories.
dfcd383c50
...
d0893f0b0a
|
@ -50,7 +50,7 @@
|
||||||
look = import ./extras/look.nix;
|
look = import ./extras/look.nix;
|
||||||
ws = import ./extras/workspaces.nix;
|
ws = import ./extras/workspaces.nix;
|
||||||
|
|
||||||
# NixOS configuration entrypoint, use 'nixos-rebuild --flake .#your-hostname'
|
# NixOS configuration entrypointm use 'nixos-rebuild --flake .#your-hostname'
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
JimDesktop = nixpkgs.lib.nixosSystem {
|
JimDesktop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs outputs;};
|
specialArgs = {inherit inputs outputs;};
|
||||||
|
|
|
@ -14,13 +14,21 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.allowUnfree = true;
|
# You can add overlays here
|
||||||
overlays = [
|
overlays = [
|
||||||
|
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||||
outputs.overlays.additions
|
outputs.overlays.additions
|
||||||
outputs.overlays.selfsuper
|
outputs.overlays.selfsuper
|
||||||
outputs.overlays.finalprev
|
outputs.overlays.finalprev
|
||||||
inputs.blender-bin.overlays.default
|
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
|
# Common programs I'll need everywhere
|
||||||
|
|
|
@ -98,6 +98,11 @@ in {
|
||||||
fsType = "nfs4";
|
fsType = "nfs4";
|
||||||
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
|
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
|
# Set the swap partition
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
# NFS server
|
||||||
services.nfs.server = {
|
services.nfs.server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = ''
|
exports = ''
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
|
|
||||||
# Needed to make NAT work
|
# Needed to make NAT work
|
||||||
networking.firewall.trustedInterfaces = [
|
networking.firewall.trustedInterfaces = [
|
||||||
"virbr0"
|
virbr0
|
||||||
"virbr1"
|
virbr1
|
||||||
];
|
];
|
||||||
|
|
||||||
# Allow Looking-Glass permissions
|
# Allow Looking-Glass permissions
|
||||||
|
|
Loading…
Reference in a new issue