mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-16 20:55:06 +01:00
home manager for laptop
This commit is contained in:
parent
d0d9400502
commit
31b5f8b4f2
6 changed files with 99 additions and 41 deletions
34
home-manager/laptop.nix
Normal file
34
home-manager/laptop.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ 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.overlay
|
||||
];
|
||||
# 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