Update ~8/26/24

This commit is contained in:
2024-08-29 18:54:36 +09:00
parent eebaa957af
commit 02ded93d14
19 changed files with 120 additions and 4 deletions

3
user/.profile Normal file
View File

@@ -0,0 +1,3 @@
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share
export PATH="$PATH:${XDG_BIN_HOME:-$HOME/.local/bin}"

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, config, ... }:
{
home.packages = [ pkgs.firefox ];
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
gimp
];
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
inkscape
];
}

View File

@@ -0,0 +1,20 @@
{ pkgs, ... }:
let
mytex = pkgs.texliveMedium.withPackages
(ps: [
ps.biber
ps.biblatex
ps.bibtex
ps.import
ps.subfiles
ps.wrapfig
ps.collection-langjapanese
]);
in
{
home.packages = with pkgs; [
mytex
pandoc
qpdf
];
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
thunderbird
];
}

View File

@@ -6,6 +6,7 @@
cmake
autoconf
automake
gnumake
libtool
clang-analyzer
clang-tools

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
nodejs_20
];
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
firefox-devedition-bin
];
}

4
user/profile.nix Normal file
View File

@@ -0,0 +1,4 @@
{ config, ... }:
{
home.file.".profile".source = ./.profile;
}

20
user/shell/bash.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, pkgs, ... }:
let
lsCmd = "eza -la --git -s type";
in
{
home.packages = with pkgs; [
bash
];
programs.bash = {
enable = true;
shellAliases = {
search-pkg = "nix search -I nixpkgs=flake:nixpkgs nixpkgs";
newpkg = "bash ~/.dotfiles/newpkg.sh";
rebuild = "sudo nixos-rebuild switch --flake '.#system'";
l = lsCmd;
ls = lsCmd;
};
};
}