Files
dendritic/modules/hosts/john-p14s/default.nix
T
2026-03-26 18:39:34 -05:00

30 lines
690 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; [
gnome
desktop
];
}
] ++ (with self.modules.nixos; [
p14sConfiguration
sudo
john
gnome
steam
# greetd
# niri
]);
};
}