30 lines
557 B
Nix
30 lines
557 B
Nix
{ inputs, self, ... }: {
|
|
flake.nixosConfigurations.sakamoto = inputs.nixpkgs.lib.nixosSystem {
|
|
modules = with self.nixosModules; [
|
|
global
|
|
sakamoto
|
|
];
|
|
};
|
|
|
|
flake.nixosModules.sakamoto = { pkgs, config, lib, ... }: {
|
|
info = {
|
|
hostName = "sakamoto";
|
|
stateVersion = "26.11";
|
|
};
|
|
|
|
components.bootLoader = {
|
|
selection = "grub";
|
|
timeout = 0;
|
|
};
|
|
|
|
features = {
|
|
shells.defaultShell = "bash";
|
|
|
|
applications = {
|
|
cli = {
|
|
nh.enable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
} |