A bunch of random stuff
- XDG user directories - Fingerprint reader on `lime` - Enable tailscale - Enable `iamb` on `lime`
This commit is contained in:
parent
a2996d1c6e
commit
027bbd01c1
6 changed files with 37 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
./gui.nix
|
||||
./nix.nix
|
||||
./ssh.nix
|
||||
./vpn.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
9
shared/core/vpn.nix
Normal file
9
shared/core/vpn.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
|
||||
services.tailscale = {
|
||||
# TODO: configure declaratively
|
||||
enable = true;
|
||||
interfaceName = "ts0";
|
||||
};
|
||||
|
||||
}
|
|
@ -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
23
shared/home/xdg.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -7,6 +7,8 @@
|
|||
backups.enable = true;
|
||||
};
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
networking.hostName = "lime";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
|
|
@ -8,4 +8,5 @@
|
|||
battery.name = "BAT0";
|
||||
};
|
||||
};
|
||||
programs.iamb.enable = true;
|
||||
}
|
Loading…
Reference in a new issue