Compare commits
3 Commits
e341234d00
...
c11d973b4b
| Author | SHA1 | Date | |
|---|---|---|---|
| c11d973b4b | |||
| 63ff1a9826 | |||
| ca4cdd0d26 |
@@ -14,6 +14,7 @@ in
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../roles/virtualisation/default.nix
|
../../roles/virtualisation/default.nix
|
||||||
|
../../roles/nfs-mounts/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
@@ -45,6 +46,16 @@ in
|
|||||||
# };
|
# };
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
nix.settings.secret-key-files = /root/cache-priv-key.pem;
|
||||||
|
nix.settings.max-jobs = "auto";
|
||||||
|
nix.settings.trusted-users = [ "johno" ];
|
||||||
|
nix.settings.substituters = [
|
||||||
|
"https://hyprland.cachix.org"
|
||||||
|
];
|
||||||
|
nix.settings.trusted-public-keys = [
|
||||||
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
@@ -103,11 +114,10 @@ in
|
|||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
# environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
git
|
||||||
# firefox
|
];
|
||||||
# ];
|
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
@@ -120,7 +130,7 @@ in
|
|||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
# services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
services.displayManager = {
|
services.displayManager = {
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
|
|||||||
8
roles/nfs-mounts/default.nix
Normal file
8
roles/nfs-mounts/default.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fileSystems."/media" = {
|
||||||
|
device = "10.0.0.43:/media";
|
||||||
|
fsType = "nfs";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user