mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
provide dev shell
This commit is contained in:
parent
6bb6294aad
commit
fbc926acea
4 changed files with 10 additions and 49 deletions
|
|
@ -1,34 +0,0 @@
|
|||
{ inputs, pkgs, ... }: {
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
# If you want to use overlays exported from other flakes:
|
||||
# neovim-nightly-overlay.overlays.default
|
||||
# Or define it inline, for example:
|
||||
# (final: prev: {
|
||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||
# patches = [ ./change-hello-to-hi.patch ];
|
||||
# });
|
||||
# })
|
||||
inputs.nur.overlays.default
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = import ./common-packages.nix { inherit pkgs; };
|
||||
|
||||
programs.fish.interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
. /home/nilsh/.nix-profile/etc/profile.d/nix.fish
|
||||
'';
|
||||
|
||||
home = {
|
||||
username = "nilsh";
|
||||
homeDirectory = "/home/nilsh";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue