Massive nixfmt reformatting
This commit is contained in:
parent
fe4492f004
commit
b29ddd5e65
109 changed files with 4323 additions and 2368 deletions
35
common.nix
35
common.nix
|
@ -1,16 +1,33 @@
|
|||
let
|
||||
# Default shell
|
||||
defaultShell = { lib, pkgs, config, ... }: with lib; {
|
||||
environment.shells = with pkgs; [ bash fish ];
|
||||
users.users = mkMerge [
|
||||
{ nki.shell = pkgs.bash; }
|
||||
# (mkIf (builtins.hasAttr "natsukagami" config.users.users) { natsukagami.shell = pkgs.fish; })
|
||||
];
|
||||
};
|
||||
defaultShell =
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
environment.shells = with pkgs; [
|
||||
bash
|
||||
fish
|
||||
];
|
||||
users.users = mkMerge [
|
||||
{ nki.shell = pkgs.bash; }
|
||||
# (mkIf (builtins.hasAttr "natsukagami" config.users.users) { natsukagami.shell = pkgs.fish; })
|
||||
];
|
||||
};
|
||||
in
|
||||
# Common stuff
|
||||
{ lib, pkgs, config, ... }:
|
||||
with lib; {
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
imports = [
|
||||
# defaultShell
|
||||
./modules/services/nix-cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue