flake/hosts/aristotle/default.nix

48 lines
1.1 KiB
Nix

{pkgs, ...}: {
imports = [
# OS
../../nixos/profiles/laptop
../../nixos/profiles/common/opt-in/clash-meta-client
../../nixos/profiles/common/opt-in/gaming
# Hardware
./hardware-configuration.nix
./anti-feature.nix
../../nixos/profiles/common/opt-in/lanzaboote.nix
../../nixos/profiles/common/opt-in/impermanence.nix
../../nixos/profiles/common/opt-in/disko.nix
];
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "aristotle";
time.timeZone = "Asia/Shanghai";
_module.args.disks = ["/dev/nvme0n1"]; # Disko
services.tailscale = {
enable = true;
openFirewall = true;
};
# Stuff that I only want on my main machine
home-manager.users.guanranwang = {
imports = map (n: ../../home/applications/${n}) [
"spotify/spicetify.nix"
"thunderbird"
"telegram-desktop"
"ydict"
];
home.packages = with pkgs; [
amberol
fractal
gnome.gnome-calculator
hyperfine
mousai
];
programs.obs-studio.enable = true;
};
# for udev rules
programs.adb.enable = true;
}