dotfiles/.config/nixos/flake.nix
Andrei Jiroh Halili 824366c5dd chore(global): initial commit for nixpkgs branch
Need to commit and push for community help at @hackclub slack
later.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
2024-12-29 19:39:14 +08:00

49 lines
No EOL
1.2 KiB
Nix

{
description = "Andrei Jiroh's NixOS configurations";
# try to be in-sync with the nix-channels
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
home-manager = {
url = "github:nix-community/home-manager/master";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
};
determinate = {
url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
};
vscode-server = {
url = "github:nix-community/nixos-vscode-server";
};
};
outputs = {
self,
nixpkgs,
home-manager,
nixos-hardware,
determinate,
vscode-server
}: {
nixosConfigurations = {
stellapent-cier = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
determinate.nixosModules.default
vscode-server.nixosModules.default
home-manager.nixosModules.home-manager
./shared/networking.nix
./shared/locale.nix
./shared/firewall.nix
./shared/kde-plasma.nix
./shared/ssh.nix
./shared/tailscale.nix
./hosts/stellapent-cier/configuration.nix
];
};
};
};
}