beatific: factor out inline modules
This commit is contained in:
parent
ccf3f5c56a
commit
01e53db037
15
flake.nix
15
flake.nix
|
@ -29,19 +29,8 @@
|
|||
}@inputs: {
|
||||
nixosModules = {
|
||||
beatific = import ./modules/beatific.nix;
|
||||
tf2-gperftools = ({ ... }: {
|
||||
environment.systemPackages = [ nixpkgs-2405.legacyPackages."i686-linux".gperftools ];
|
||||
});
|
||||
unstable-vscode = ({ ... }: let
|
||||
pkgs = import nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; };
|
||||
in {
|
||||
virtualisation.docker.enable = true;
|
||||
environment.systemPackages = [
|
||||
pkgs.distrobox
|
||||
pkgs.vscode
|
||||
pkgs.icu
|
||||
];
|
||||
});
|
||||
tf2-gperftools = import ./modules/tf2-gperftools.nix { inherit inputs; };
|
||||
unstable-vscode = import ./modules/unstable-vscode.nix { inherit inputs; };
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Flake inputs
|
||||
{ inputs, ... }:
|
||||
# Module inputs
|
||||
{ ... }:
|
||||
{
|
||||
environment.systemPackages = [ inputs.nixpkgs-2405.legacyPackages."i686-linux".gperftools ];
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
# Flake inputs
|
||||
{ inputs, ... }:
|
||||
# Module inputs
|
||||
{ ... }:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; };
|
||||
in {
|
||||
virtualisation.docker.enable = true;
|
||||
environment.systemPackages = [
|
||||
pkgs.distrobox
|
||||
pkgs.vscode
|
||||
pkgs.icu
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue