A bunch of random stuff

- XDG user directories
- Fingerprint reader on `lime`
- Enable tailscale
- Enable `iamb` on `lime`
This commit is contained in:
Riley Apeldoorn 2023-06-17 20:09:52 +02:00
parent a2996d1c6e
commit 027bbd01c1
6 changed files with 37 additions and 0 deletions

View File

@ -7,6 +7,7 @@
./gui.nix
./nix.nix
./ssh.nix
./vpn.nix
];
config = {

9
shared/core/vpn.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }: {
services.tailscale = {
# TODO: configure declaratively
enable = true;
interfaceName = "ts0";
};
}

View File

@ -6,6 +6,7 @@
./bash.nix
./git.nix
./mpd.nix
./xdg.nix
./programs.nix
./matrix.nix
./theme.nix

23
shared/home/xdg.nix Normal file
View File

@ -0,0 +1,23 @@
{ config, ... }:
let homeDir = config.home.homeDirectory;
in {
xdg.userDirs = {
# Let Nix manage the XDG directories
enable = true;
createDirectories = true;
# Define the paths
download = "/tmp";
music = "${homeDir}/music";
documents = "${homeDir}/docs";
pictures = "${homeDir}/pics";
# Disable generation of these
desktop = null;
publicShare = null;
templates = null;
videos = null;
};
}

View File

@ -7,6 +7,8 @@
backups.enable = true;
};
services.fprintd.enable = true;
networking.hostName = "lime";
networking.networkmanager.enable = true;

View File

@ -8,4 +8,5 @@
battery.name = "BAT0";
};
};
programs.iamb.enable = true;
}