fix: missing values in profiles/core/nix
This commit is contained in:
parent
05713cd876
commit
4fee15ce51
1 changed files with 22 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ config, pkgs, self, lib, ... }: {
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||||
|
@ -26,7 +26,10 @@
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [ nix-index nixfmt nixpkgs-fmt ];
|
systemPackages = with pkgs; [ nix-index nixfmt nixpkgs-fmt ];
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases =
|
||||||
|
let ifSudo = lib.mkIf config.security.sudo.enable;
|
||||||
|
in
|
||||||
|
{
|
||||||
# nix
|
# nix
|
||||||
n = "nix";
|
n = "nix";
|
||||||
np = "n profile";
|
np = "n profile";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue