mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 06:38:36 +01:00
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;
|
||
|
};
|
||
|
};
|
||
|
}
|