mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
d29e0c909e
This is already a part of the default list in nixpkgs.
See: 1487bdea61/nixos/modules/config/system-path.nix (L165)
39 lines
692 B
Nix
39 lines
692 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/fonts"
|
|
];
|
|
|
|
modules = {
|
|
hardware = {
|
|
disableLaptopKeyboard = true;
|
|
lidIgnore = true;
|
|
powerIgnore = true;
|
|
};
|
|
|
|
networking = {
|
|
mullvad = true;
|
|
};
|
|
|
|
desktop = {
|
|
japanese = true;
|
|
bloat = true;
|
|
wine = true;
|
|
};
|
|
};
|
|
}
|