nixos: clean up unused applications

This commit is contained in:
Guanran Wang 2024-03-01 03:17:14 +08:00
parent 147c40bb82
commit 352d1dcb30
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
7 changed files with 47 additions and 71 deletions

View file

@ -5,7 +5,7 @@
}: {
programs.helix = {
enable = true;
defaultEditor = true;
# defaultEditor = true;
settings = {
theme =
lib.mkIf (config.myFlake.home-manager.colorScheme == "tokyonight")

View file

@ -12,6 +12,8 @@
(pkgs.writeShellScriptBin "vim" ''nvim "$@"'')
];
home.sessionVariables."EDITOR" = "nvim";
# TODO: couldn't make it work
#programs.neovim = {
# enable = true;

View file

@ -36,18 +36,13 @@
./applications/eza
./applications/skim
./applications/bat
./applications/bottom
./applications/zoxide
./applications/ripgrep
./applications/wget
./applications/fd
./applications/hyperfine
./applications/atuin
./applications/zellij
./applications/ydict
./applications/fastfetch
./applications/android-tools
./applications/tealdeer
];

View file

@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
imports = [
# OS
../../nixos/profiles/laptop
@ -22,4 +22,28 @@
enable = true;
openFirewall = true;
};
# Stuff that I only want on my main machine
home-manager.users.guanranwang = {
imports = map (n: ../../home/applications/${n}) [
"spotify/spicetify.nix"
"amberol"
"mousai"
"thunderbird"
"telegram-desktop"
"hyperfine"
"ydict"
"android-tools"
];
home.packages = with pkgs; [
fractal
gnome.gnome-calculator
];
programs.obs-studio.enable = true;
};
# for udev rules
programs.adb.enable = true;
}

View file

@ -1,11 +1,10 @@
{...}: {
{pkgs, ...}: {
imports =
[
./fonts
./scripts
./wallpapers
./packages.nix
./theme.nix
./xdg-mime.nix
]
@ -18,14 +17,14 @@
"bash"
# Editor
"helix"
"neovim"
"vscode"
# "helix"
# "vscode"
# Browser
"chromium"
#"librewolf"
"firefox"
# "chromium"
# "librewolf"
# Language
"nix"
@ -34,20 +33,13 @@
# Media
"loupe"
"mpv"
"spotify/spicetify.nix"
"amberol"
"mousai"
# WM
"sway"
# Misc
"thunderbird"
"telegram-desktop"
"nautilus"
"fcitx5"
"irssi"
"mumble"
];
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
@ -56,4 +48,15 @@
exec sway
end
'';
home.packages = with pkgs.gnome; [
seahorse
file-roller
gnome-calculator
dconf-editor
];
services = {
ssh-agent.enable = true;
};
}

View file

@ -1,51 +0,0 @@
{pkgs, ...}: {
home.packages =
(with pkgs; [
# Messaging
### Matrix
#libsForQt5.neochat # kinda buggy with window resizing, but it works and its not electron
#nheko # wont let me login for some reason
fractal # does not work with Mozilla's SAML login
## # vvv 3 UI libraries I dislike vvv
#cinny-desktop # # Tauri
#element-desktop # # Electron
#fluffychat # # Flutter
### Misc
#discord
#qq
# Misc
#bitwarden
#gparted
#timeshift
#tuba
#piper
#gradience
#dippi
])
++ (with pkgs.gnome; [
zenity
seahorse
file-roller
gnome-weather
gnome-calculator
dconf-editor
]);
programs = {
obs-studio.enable = true;
};
services = {
ssh-agent.enable = true;
};
#programs.boxxy = {
# enable = true;
# #rules = {
# #
# #};
#};
}

View file

@ -5,5 +5,8 @@
"osu-lazer"
#"osu-stable"
"mangohud"
# VOIP
"mumble"
];
}