mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-09 09:50:14 +08:00
28 lines
741 B
Nix
28 lines
741 B
Nix
{
|
|
description = "NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
};
|
|
|
|
outputs = { self, home-manager, nixpkgs }: {
|
|
nixosConfigurations.x1c7 = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
# System configuration
|
|
./configuration.nix
|
|
./modules/passwordstore.nix
|
|
./modules/protonmail-bridge.nix
|
|
|
|
# home-manager configuration
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.srid = import ./home.nix;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|