mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
treewide reformat
This commit is contained in:
parent
de7683556e
commit
fc21bf9436
42 changed files with 1012 additions and 876 deletions
52
flake.nix
52
flake.nix
|
|
@ -8,7 +8,7 @@
|
|||
nix = {
|
||||
url = "github:NixOS/nix?ref=2.17-maintenance";
|
||||
inputs.nixpkgs.follows = "unstable";
|
||||
};
|
||||
};
|
||||
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
|
|
@ -45,37 +45,29 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
lib = import ./lib inputs;
|
||||
in
|
||||
lib.gerg-utils {
|
||||
allowUnfree = true;
|
||||
} (
|
||||
outputs =
|
||||
inputs:
|
||||
let
|
||||
lib = import ./lib inputs;
|
||||
in
|
||||
lib.gerg-utils { allowUnfree = true; } (
|
||||
{ pkgs, system, ... }:
|
||||
{
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
inherit lib;
|
||||
nixosConfigurations =
|
||||
lib.mkHosts
|
||||
"x86_64-linux"
|
||||
[
|
||||
"gerg-desktop"
|
||||
"game-laptop"
|
||||
"moms-laptop"
|
||||
"iso"
|
||||
];
|
||||
nixosConfigurations = lib.mkHosts "x86_64-linux" [
|
||||
"gerg-desktop"
|
||||
"game-laptop"
|
||||
"moms-laptop"
|
||||
"iso"
|
||||
];
|
||||
|
||||
nixosModules = lib.mkModules ./modules;
|
||||
|
||||
diskoConfigurations =
|
||||
lib.mkDisko
|
||||
[
|
||||
"gerg-desktop"
|
||||
"game-laptop"
|
||||
"moms-laptop"
|
||||
];
|
||||
diskoConfigurations = lib.mkDisko [
|
||||
"gerg-desktop"
|
||||
"game-laptop"
|
||||
"moms-laptop"
|
||||
];
|
||||
formatter.${system} = pkgs.writeShellApplication {
|
||||
name = "lint";
|
||||
runtimeInputs = [
|
||||
|
|
@ -94,11 +86,7 @@
|
|||
'';
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.sops
|
||||
];
|
||||
};
|
||||
devShells.${system}.default = pkgs.mkShell { packages = [ pkgs.sops ]; };
|
||||
|
||||
packages.${system} = lib.mkPackages ./packages pkgs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue