Set the nixpkgs platform as a module option.
This commit is contained in:
parent
36b67321c0
commit
6f74507684
4 changed files with 15 additions and 11 deletions
|
|
@ -1,24 +1,16 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
system-manager = {
|
||||
url = "github:numtide/system-manager";
|
||||
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ flake-utils
|
||||
, system-manager
|
||||
, ...
|
||||
}:
|
||||
outputs = { system-manager, ... }:
|
||||
{
|
||||
systemConfigs.default = system-manager.lib.makeSystemConfig {
|
||||
system = flake-utils.lib.system.x86_64-linux;
|
||||
modules = [
|
||||
./modules
|
||||
];
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
}:
|
||||
{
|
||||
config = {
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
environment.etc = {
|
||||
foo = {
|
||||
text = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue