alt
This commit is contained in:
parent
6a475a7430
commit
b5d14a8b64
9 changed files with 173 additions and 34 deletions
58
alt/default.nix
Normal file
58
alt/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ config, pkgs, inputs, lib, ... }:
|
||||
|
||||
{
|
||||
home.username = "alt";
|
||||
home.homeDirectory = "/home/alt";
|
||||
home.stateVersion = "22.11";
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
download = "${config.home.homeDirectory}/tmp";
|
||||
music = "${config.home.homeDirectory}/media/music";
|
||||
pictures = "${config.home.homeDirectory}/media/img";
|
||||
videos = "${config.home.homeDirectory}/media/vid";
|
||||
documents = "${config.home.homeDirectory}/misc";
|
||||
templates = "${config.xdg.dataHome}/templates";
|
||||
};
|
||||
|
||||
home.file.".npmrc".text = ''
|
||||
prefix = ${config.xdg.dataHome}/npm/packages
|
||||
'';
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# commandline
|
||||
fzf
|
||||
nnn
|
||||
jq
|
||||
progress
|
||||
silver-searcher
|
||||
tmux
|
||||
wl-clipboard
|
||||
|
||||
firefox
|
||||
qbittorrent
|
||||
vlc
|
||||
|
||||
];
|
||||
|
||||
imports = [
|
||||
./desktop
|
||||
];
|
||||
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue