Finally switch to flakes.
This commit is contained in:
parent
a90e09db74
commit
5e0b713756
116 changed files with 5443 additions and 3 deletions
49
home-manager/home.nix
Normal file
49
home-manager/home.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
{pkgs, inputs, outputs, ...}: {
|
||||
imports = [
|
||||
# Terminal apps
|
||||
./tuiapps/git.nix
|
||||
./tuiapps/zsh.nix
|
||||
./tuiapps/fastfetch.nix
|
||||
./tuiapps/neovim.nix
|
||||
./tuiapps/ranger.nix
|
||||
./tuiapps/tmux.nix
|
||||
|
||||
# Services
|
||||
./services/reloadunits.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.modifications
|
||||
outputs.overlays.unstable-packages
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
allowUnfreePredicate = _: true;
|
||||
};
|
||||
};
|
||||
|
||||
# Common programs I'll need everywhere
|
||||
home.packages = with pkgs; [
|
||||
home-manager
|
||||
gotop
|
||||
tcptrack
|
||||
p7zip
|
||||
vimv
|
||||
dua
|
||||
pciutils
|
||||
usbutils
|
||||
protonvpn-cli_2
|
||||
];
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "24.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue