add agenix
This commit is contained in:
parent
3fa51bdbd3
commit
e6bc1d2f87
9 changed files with 152 additions and 38 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = (import ../modules/editors) ++
|
||||
|
|
@ -74,6 +74,7 @@
|
|||
usbutils
|
||||
wget
|
||||
lsof
|
||||
inputs.agenix.packages.${system}.agenix
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
./configuration.nix
|
||||
../modules/themes/home.nix
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
inputs.agenix.nixosModules.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
|
|
@ -20,20 +20,34 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home/glen/media" =
|
||||
fileSystems."/media" =
|
||||
{
|
||||
device = "192.168.10.2:/mnt/tank/media";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/glen/books" =
|
||||
fileSystems."/books" =
|
||||
{
|
||||
device = "192.168.10.2:/mnt/tank/books";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ];
|
||||
};
|
||||
|
||||
fileSystems."/music" =
|
||||
{
|
||||
device = "192.168.10.2:/mnt/tank/music";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ];
|
||||
};
|
||||
|
||||
fileSystems."/projects" =
|
||||
{
|
||||
device = "192.168.10.2:/mnt/tank/projects";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.after=network-online.target" "x-systemd.mount-timeout=90" ];
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-9d4b251f-b7d5-4a28-8e5d-6df09b434e47".device = "/dev/disk/by-uuid/9d4b251f-b7d5-4a28-8e5d-6df09b434e47";
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue