43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{ config, ... }: {
|
|
imports = [ ../modules/variables-config.nix ];
|
|
|
|
config.var = {
|
|
hostname = "nixy";
|
|
username = "hadi";
|
|
homeDirectory = "/home/" + config.var.username;
|
|
configDirectory = config.var.homeDirectory + "/.config/nixos";
|
|
|
|
keyboardLayout = "fr";
|
|
|
|
location = "Paris";
|
|
timeZone = "Europe/Paris";
|
|
defaultLocale = "en_US.UTF-8";
|
|
extraLocale = "fr_FR.UTF-8";
|
|
|
|
git = {
|
|
username = "Hadi";
|
|
email = "112569860+anotherhadi@users.noreply.github.com";
|
|
};
|
|
|
|
autoUpgrade = false;
|
|
autoGarbageCollector = false;
|
|
|
|
# SOPS
|
|
# Sops is a tool to store secrets in git repositories encrypted with GPG.
|
|
# change the sops configuration if you want to enable that:
|
|
sops = true;
|
|
|
|
# Enable tailscale
|
|
tailscale = true;
|
|
|
|
# USBGuard
|
|
# If usbguard enabled: set yours pref USB devices (change {id} to your trusted USB device), use `lsusb` command (from usbutils package) to get list
|
|
# of all connected USB devices including integrated devices like camera, bluetooth, wifi, etc. with their IDs or just disable `usbguard`
|
|
# allow id {id} # device 1...
|
|
usbguard = false;
|
|
usbguardRules = "";
|
|
|
|
theme = import ../themes/nixy.nix; # select your theme here
|
|
};
|
|
}
|