mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 15:38:12 +01:00
51273df2c8
Makes it easier to reason about the flake-specific stuff inside the flake.
40 lines
718 B
Nix
40 lines
718 B
Nix
{ self, pkgs, ... }:
|
|
|
|
let
|
|
inherit (builtins) attrValues;
|
|
in
|
|
{
|
|
imports = attrValues self.nixosModules ++ [
|
|
./hardware/laptop.nix
|
|
];
|
|
|
|
nixpkgs.overlays = attrValues self.overlays;
|
|
home-manager.sharedModules = attrValues self.homeManagerModules;
|
|
environment.systemPackages = attrValues self.packages.${pkgs.system};
|
|
|
|
environment.pathsToLink = [
|
|
"/share/backgrounds"
|
|
"/share/eww"
|
|
"/share/thumbnailers"
|
|
"/share/fonts"
|
|
];
|
|
|
|
modules = {
|
|
hardware = {
|
|
disableLaptopKeyboard = true;
|
|
lidIgnore = true;
|
|
powerIgnore = true;
|
|
};
|
|
|
|
networking = {
|
|
mullvad = true;
|
|
};
|
|
|
|
desktop = {
|
|
japanese = true;
|
|
bloat = true;
|
|
wine = true;
|
|
};
|
|
};
|
|
}
|