flakes/hosts/blossom/default.nix

41 lines
859 B
Nix
Raw Normal View History

2022-02-02 00:27:17 +07:00
{ config, inputs, modules, overlays, pkgs, ... }: {
2021-11-02 00:53:56 +07:00
networking.hostName = "blossom";
system.stateVersion = "21.11";
2021-09-20 15:09:44 +07:00
time.timeZone = "Asia/Phnom_Penh";
2021-05-11 14:32:58 +07:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nixpkgs.overlays = [ inputs.neovim-nightly.overlay ];
2021-09-20 15:09:44 +07:00
age.secrets = {
passwd.file = ../../secrets/passwd.age;
2021-11-02 00:53:56 +07:00
wg_blossom.file = ../../secrets/wg_blossom.age;
2021-09-20 15:09:44 +07:00
wpa_conf.file = ../../secrets/wpa_conf.age;
};
imports = with modules.system; [
2022-02-02 00:27:17 +07:00
inputs.home-manager.nixosModule
home-manager
audio
base
2022-01-16 11:56:33 +07:00
greetd
gui
2021-07-15 19:07:57 +07:00
input
kernel
2021-07-15 20:26:09 +07:00
nix
packages
security
snapper
2021-09-20 14:45:07 +00:00
wireguard
./filesystem.nix
./kernel.nix
./networking.nix
../../users/rin
2021-05-11 14:32:58 +07:00
];
2022-10-10 15:48:26 +07:00
hardware.opengl.package = (pkgs.mesa.overrideAttrs(o: {
patches = o.patches ++ [ ./mesa_mr_17182.patch ];
})).drivers;
2021-05-11 14:32:58 +07:00
}