79 lines
1.8 KiB
Nix
79 lines
1.8 KiB
Nix
{
|
|
config,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.nixos-hardware.nixosModules.framework-11th-gen-intel
|
|
];
|
|
|
|
host = {
|
|
users = {
|
|
leyla = {
|
|
isDesktopUser = true;
|
|
isTerminalUser = true;
|
|
isPrincipleUser = true;
|
|
};
|
|
eve.isDesktopUser = true;
|
|
};
|
|
|
|
hardware = {
|
|
directAccess.enable = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [
|
|
(pkgs.callPackage
|
|
./webtoon-dl.nix
|
|
{})
|
|
];
|
|
|
|
programs.adb.enable = true;
|
|
|
|
sops.secrets = {
|
|
"vpn-keys/tailscale-authkey/horizon" = {
|
|
sopsFile = "${inputs.secrets}/vpn-keys.yaml";
|
|
};
|
|
};
|
|
|
|
services = {
|
|
# sudo fprintd-enroll
|
|
fprintd = {
|
|
enable = true;
|
|
};
|
|
ollama = {
|
|
enable = false;
|
|
|
|
loadModels = [
|
|
"deepseek-coder:1.3b"
|
|
"deepseek-r1:1.5b"
|
|
];
|
|
};
|
|
tailscale = {
|
|
enable = true;
|
|
authKeyFile = config.sops.secrets."vpn-keys/tailscale-authkey/horizon".path;
|
|
useRoutingFeatures = "client";
|
|
};
|
|
|
|
syncthing.enable = true;
|
|
};
|
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
# services.xserver.libinput.enable = true;
|
|
|
|
# Open ports in the firewall.
|
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
# Or disable the firewall altogether.
|
|
# networking.firewall.enable = false;
|
|
|
|
# This value determines the NixOS release from which the default
|
|
# settings for stateful data, like file locations and database versions
|
|
# on your system were taken. It's perfectly fine and recommended to leave
|
|
# this value at the release version of the first install of this system.
|
|
# Before changing this value read the documentation for this option
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
system.stateVersion = "23.05"; # Did you read the comment?
|
|
}
|