Files
dendritic/modules/hosts/john-p14s/default.nix
T
John Lancaster 238e64437c desktop imports
2026-03-26 18:23:59 -05:00

28 lines
662 B
Nix

{ self, inputs, ... }: {
flake-file.inputs = {
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
flake = false;
};
};
flake.nixosConfigurations.john-p14s = inputs.nixpkgs.lib.nixosSystem {
modules = [
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s"
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen4"
{
home-manager.useGlobalPkgs = true;
home-manager.users.john.imports = with inputs.self.modules.homeManager; [
desktop
];
}
] ++ (with self.modules.nixos; [
p14sConfiguration
sudo
john
gnome
# greetd
# niri
]);
};
}