cleanup: statix

This commit is contained in:
2024-07-04 14:38:37 -06:00
parent 6055c9e63a
commit f177fde0ef
10 changed files with 49 additions and 65 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, ... }: {
imports = [
./hardware-configuration.nix
../../base.nix
@@ -78,11 +78,11 @@
users = {
groups.nixremote.gid = 555;
users = {
jawz.packages = (with pkgs; [
jawz.packages = with pkgs; [
gocryptfs # encrypted filesystem! shhh!!!
torrenttools # create torrent files from the terminal!
vcsi # video thumbnails for torrents, can I replace it with ^?
]);
];
nixremote = {
isNormalUser = true;
createHome = true;

View File

@@ -51,11 +51,11 @@
[ "xhci_pci" "ahci" "usbhid" "nvme" "usb_storage" "sd_mod" ];
};
fileSystems = let
nfsMount = (server: nfsDisk: {
nfsMount = server: nfsDisk: {
device = "${server}:/${nfsDisk}";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
});
};
btrfsMount = subvol: {
device = "/dev/mapper/nvme";
fsType = "btrfs";