add profiles

This commit is contained in:
2026-07-27 18:31:50 +09:00
parent 6bd05887db
commit bf94d1183f
34 changed files with 327 additions and 14 deletions
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.tio ];
}
@@ -0,0 +1,10 @@
{
description = "interactive command-line environment";
includes = [
"profiles.interface.cli-minimal"
"applications.vim"
"applications.yazi"
"applications.zellij"
];
}
@@ -0,0 +1,34 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
bat
duf
dust
eza
fd
fastfetch
fzf
htop
jq
nurl
ripgrep
unrar
unzip
wget
];
home.activation.generateSshKey = {
after = [ "writeBoundary" ];
before = [ ];
data = ''
key="$HOME/.ssh/id_ed25519"
if [ ! -f "$key" ]; then
umask 077
mkdir -p "$HOME/.ssh"
${pkgs.openssh}/bin/ssh-keygen -t ed25519 -N "" -f "$key" \
-C "moons@$(${pkgs.hostname}/bin/hostname || echo host)"
echo "Generated SSH key at $key"
fi
'';
};
}
@@ -3,5 +3,13 @@
includes = [
"applications.btop"
"applications.direnv"
"applications.git"
"applications.gnupg"
"applications.nh"
"applications.nix-index"
"applications.ssh"
"applications.zoxide"
"applications.zsh"
];
}
+14
View File
@@ -0,0 +1,14 @@
{
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = "$HOME/Desktop";
documents = "$HOME/Documents";
download = "$HOME/Downloads";
music = "$HOME/Music";
pictures = "$HOME/Pictures";
publicShare = "$HOME/Public";
templates = "$HOME/Templates";
videos = "$HOME/Videos";
};
}
+23
View File
@@ -0,0 +1,23 @@
{
description = "NixOS graphical desktop environment";
includes = [
"profiles.interface.cli-interactive"
"applications.1password"
"applications.fcitx5"
"applications.ghostty"
"applications.gnome"
"applications.gtk"
"applications.kde"
"applications.nautilus"
"applications.niri"
"applications.noctalia"
"applications.vicinae"
"hardwares.graphics"
"services.ly"
"services.swayidle"
"services.swaylock"
"systems.audio"
"systems.fonts"
];
}
+8
View File
@@ -0,0 +1,8 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
grim
slurp
wf-recorder
];
}