mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
misc small changes
This commit is contained in:
parent
e6b2482344
commit
67ea731529
6 changed files with 9 additions and 3 deletions
|
|
@ -60,6 +60,7 @@
|
|||
statix
|
||||
alejandra
|
||||
nix-index
|
||||
element-desktop
|
||||
;
|
||||
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
||||
lint = pkgs.writeShellScriptBin "lint" ''
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
};
|
||||
bootConfig = {
|
||||
disable = true;
|
||||
stage2patch.disable = true;
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ in {
|
|||
++ [
|
||||
{
|
||||
networking.hostName = name;
|
||||
nixpkgs = {inherit system;};
|
||||
nixpkgs.hostPlatform = system;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,12 @@ _: {
|
|||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
#time settings
|
||||
time.timeZone = "America/New_York";
|
||||
# For`info` command.
|
||||
documentation.info.enable = false;
|
||||
# NixOS manual and such.
|
||||
documentation.nixos.enable = false;
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
};
|
||||
_file = ./misc.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ inputs: {
|
|||
#
|
||||
let
|
||||
alias = inputs // {nixpkgs = inputs.unstable;};
|
||||
flakes = lib.filterAttrs (_: v: v._type == "flake") alias;
|
||||
flakes = lib.filterAttrs (_: lib.isType "flake") alias;
|
||||
in {
|
||||
nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes;
|
||||
nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue