flake init

This commit is contained in:
Satria 2026-01-25 18:58:00 +07:00
commit c06032eb48
5 changed files with 239 additions and 0 deletions

45
lib/options.nix Normal file
View file

@ -0,0 +1,45 @@
{
flake-path = "~/Projects/nix-conf"; # set this to the cloned repo path
hostname = "thinkpad";
username = "satr14";
timezone = "Asia/Jakarta";
locale = "en_US.UTF-8";
legacy-boot = false; # enables grub if true
enable-dm = true; # enable display manager (for server use)
wol = "enp0s31f6"; # set to iface name to enable Wake-on-LAN
swapfile = 0; # * 1024; # swapfile size in MB, set to 0 to disable
resume-dev = "/dev/disk/by-uuid/1721721a-bb5a-4166-a077-9500d30be2ac"; # set to swap partition to enable hibernation, e.g. /dev/disk/by-uuid/1721721a-bb5a-4166-a077-9500d30be2ac
rice = {
font = "monospace"; # global font for rice GUIs, leave empty to use monospace
bar = {
top = true; # false will put the bar at the bottom
fragmented = true; # enable fragmented bar, false will make it a single block
minimal = false; # less verbose bar
};
gap = { # set the gap size in pixel
outer = 8;
inner = 4;
};
borders = {
colored = false; # enable colored borders
rounded = 0; # rounded corners in pixel
size = 1; # border size in pixel
};
};
ctp-opt = { # configure Catppuccin theme
primary = "sky";
accent = "sapphire";
flavor = "mocha";
};
git = { # setup your git author
user = "Satria";
email = "admin@satr14.my.id";
};
}