Skip to content

janastu/nixcfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS module

To enable Janastu tweaks to your NixOS system, add the nixos directory of this repository to the imports of /etc/nixos/configuration.nix.

Example:

{ config, lib, pkgs, ... }:

let
  janastuGit =
    builtins.fetchGit { url = "https://github.com/janastu/nixcfg.git"; };

in {

  imports = [ "${janastuGit}/nixos" ];

}

See https://nixos.org/nixos/manual/#sec-importing-modules for more information.

Nixpkgs overlay

The packages overlay is enabled by default when NixOS module is imported, but it can also be enabled for non-NixOS distros.

mkdir -p ~/.config/nixpkgs/overlays/
cat << EOF > ~/.config/nixpkgs/overlays/janastu.nix

let
  janastuGit =
    builtins.fetchGit { url = "https://github.com/janastu/nixcfg.git"; };
in import "\${janastuGit}/nixpkgs-overlay"

EOF

See https://nixos.org/nixpkgs/manual/#sec-overlays-install for more information.

About

Common NixOS modules and Nixpkgs overlay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages