flake/hosts/aristotle/default.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2024-02-29 19:17:14 +00:00
{pkgs, ...}: {
imports = [
# OS
../../nixos/profiles/laptop
../../nixos/profiles/common/opt-in/clash-meta-client
../../nixos/profiles/common/opt-in/gaming
# Hardware
./hardware-configuration.nix
2024-02-07 01:51:49 +00:00
./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
2024-02-13 11:19:55 +00:00
services.tailscale = {
enable = true;
openFirewall = true;
};
2024-02-29 19:17:14 +00:00
# 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; [
2024-03-26 08:49:35 +00:00
amberol
2024-02-29 19:17:14 +00:00
fractal
gnome.gnome-calculator
2024-03-26 08:49:35 +00:00
hyperfine
mousai
2024-02-29 19:17:14 +00:00
];
programs.obs-studio.enable = true;
};
# for udev rules
programs.adb.enable = true;
}