2024-05-02 23:43:48 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-01-31 02:44:15 +00:00
|
|
|
imports = [
|
|
|
|
# OS
|
|
|
|
../../nixos/profiles/laptop
|
2024-06-14 23:25:48 +00:00
|
|
|
../../nixos/profiles/common/opt-in/mihomo
|
2024-01-31 02:44:15 +00:00
|
|
|
../../nixos/profiles/common/opt-in/gaming
|
|
|
|
|
|
|
|
# Hardware
|
|
|
|
./hardware-configuration.nix
|
2024-02-07 01:51:49 +00:00
|
|
|
./anti-feature.nix
|
2024-01-31 02:44:15 +00:00
|
|
|
../../nixos/profiles/common/opt-in/lanzaboote.nix
|
|
|
|
../../nixos/profiles/common/opt-in/impermanence.nix
|
|
|
|
../../nixos/profiles/common/opt-in/disko.nix
|
|
|
|
];
|
|
|
|
|
2024-04-22 14:34:20 +00:00
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-02-11 14:10:03 +00:00
|
|
|
networking.hostName = "aristotle";
|
2024-01-31 02:44:15 +00:00
|
|
|
time.timeZone = "Asia/Shanghai";
|
|
|
|
_module.args.disks = ["/dev/nvme0n1"]; # Disko
|
2024-04-22 18:35:50 +00:00
|
|
|
system.stateVersion = "23.11";
|
2024-02-13 11:19:55 +00:00
|
|
|
|
2024-02-16 09:07:56 +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}) [
|
|
|
|
"thunderbird"
|
|
|
|
"ydict"
|
|
|
|
];
|
|
|
|
|
2024-07-07 12:25:57 +00:00
|
|
|
home.packages =
|
|
|
|
(with pkgs; [
|
2024-04-23 08:08:11 +00:00
|
|
|
amberol
|
|
|
|
fractal
|
2024-07-07 12:25:57 +00:00
|
|
|
gnome-calculator
|
2024-04-23 08:08:11 +00:00
|
|
|
hyperfine
|
|
|
|
mousai
|
2024-07-07 12:25:57 +00:00
|
|
|
])
|
2024-04-23 10:35:58 +00:00
|
|
|
++ (with inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.scripts; [
|
2024-04-23 08:08:11 +00:00
|
|
|
lofi
|
|
|
|
]);
|
2024-02-29 19:17:14 +00:00
|
|
|
|
|
|
|
programs.obs-studio.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# for udev rules
|
|
|
|
programs.adb.enable = true;
|
2024-05-23 16:15:10 +00:00
|
|
|
|
|
|
|
# fucking hell
|
|
|
|
programs.anime-game-launcher.enable = true;
|
2024-07-07 13:40:25 +00:00
|
|
|
|
|
|
|
# nouveou
|
|
|
|
services.xserver.videoDrivers = [];
|
|
|
|
|
|
|
|
# novideo
|
|
|
|
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
|
|
|
|
# environment.sessionVariables."MOZ_ENABLE_WAYLAND" = "0";
|
|
|
|
# networking.networkmanager.enable = false;
|
|
|
|
# services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
# services.xserver.displayManager.gdm.enable = true;
|
|
|
|
# # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1562
|
|
|
|
# services.udev.extraRules = ''
|
|
|
|
# ENV{DEVNAME}=="/dev/dri/card1", TAG+="mutter-device-preferred-primary"
|
|
|
|
# '';
|
2024-01-31 02:44:15 +00:00
|
|
|
}
|