34 lines
769 B
Nix
34 lines
769 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
|
|
{
|
|
my-vscode.enable = true;
|
|
}
|
|
];
|
|
}
|
|
] ++ (with self.modules.nixos; [
|
|
p14sConfiguration
|
|
sudo
|
|
john
|
|
gnome
|
|
steam
|
|
# wireguard
|
|
# greetd
|
|
# niri
|
|
]);
|
|
};
|
|
} |