home: cleanup
This commit is contained in:
parent
dd785d8825
commit
1d6adde578
36 changed files with 43 additions and 160 deletions
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.amberol];
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
# requires sudo
|
||||
home.packages = [pkgs.android-tools];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
services.batsignal.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
programs.bottom.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.cava];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
services.cliphist.enable = true;
|
||||
}
|
|
@ -1,16 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
pavucontrol
|
||||
];
|
||||
home.packages = with pkgs; [pavucontrol];
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/wm/preferences" = {
|
||||
"button-layout" = "icon,appmenu:"; # remove csd window buttons
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
# https://github.com/localsend/localsend/blob/2457acd8a7412723b174672d174e4853dccd7d99/app/linux/my_application.cc#L45
|
||||
GTK_CSD = 0;
|
||||
};
|
||||
# remove csd window buttons
|
||||
# https://github.com/localsend/localsend/blob/2457acd8a7412723b174672d174e4853dccd7d99/app/linux/my_application.cc#L45
|
||||
home.sessionVariables.GTK_CSD = 0;
|
||||
dconf.settings."org/gnome/desktop/wm/preferences"."button-layout" = "icon,appmenu:";
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.easyeffects];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.fd];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
pkgs.hyperfine
|
||||
];
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.irssi];
|
||||
#programs.irssi.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
programs.joshuto.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.lunar-client];
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
# TODO: add configuration, i have no idea how to display stuff with nix syntax
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.mousai];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.mumble];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.netease-cloud-music-gtk];
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
home.packages = [inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-lazer-bin];
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = [
|
||||
(inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-stable.override {
|
||||
location = "${config.xdg.dataHome}/osu-stable";
|
||||
})
|
||||
];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [(pkgs.prismlauncher.override {glfw = pkgs.glfw-wayland-minecraft;})];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.protonup-qt];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.qbittorrent];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
programs.ripgrep.enable = true;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
pkgs.steam
|
||||
|
||||
# with ProtonGE
|
||||
# (pkgs.steam.override {
|
||||
# extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.proton-ge}'";
|
||||
# })
|
||||
];
|
||||
}
|
|
@ -8,15 +8,16 @@
|
|||
imports = [
|
||||
../common/wayland.nix
|
||||
../common/wm.nix
|
||||
../cliphist
|
||||
../i3status-rust
|
||||
../mako
|
||||
../rofi
|
||||
../swayidle
|
||||
../swaylock
|
||||
../udiskie
|
||||
];
|
||||
|
||||
services.cliphist.enable = true;
|
||||
services.udiskie.enable = true;
|
||||
|
||||
home.sessionVariables = {
|
||||
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
|
||||
};
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.swww];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.trashy];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
services.udiskie.enable = true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.wget];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.yesplaymusic];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
programs.zoxide.enable = true;
|
||||
}
|
|
@ -35,22 +35,22 @@
|
|||
inputs.self.homeManagerModules.default
|
||||
inputs.nur.hmModules.nur
|
||||
|
||||
./applications/atuin
|
||||
./applications/bat
|
||||
./applications/eza
|
||||
./applications/fastfetch
|
||||
./applications/git
|
||||
./applications/gpg
|
||||
./applications/starship
|
||||
./applications/eza
|
||||
./applications/skim
|
||||
./applications/bat
|
||||
./applications/zoxide
|
||||
./applications/ripgrep
|
||||
./applications/wget
|
||||
./applications/fd
|
||||
./applications/atuin
|
||||
./applications/zellij
|
||||
./applications/fastfetch
|
||||
./applications/starship
|
||||
./applications/tealdeer
|
||||
./applications/zellij
|
||||
];
|
||||
|
||||
programs.ripgrep.enable = true;
|
||||
programs.zoxide.enable = true;
|
||||
home.packages = with pkgs; [fd] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs; [trashy]);
|
||||
|
||||
home.shellAliases = {
|
||||
".." = "cd ..";
|
||||
"farsee" = "curl -F 'c=@-' 'https://fars.ee/'"; # pb
|
||||
|
|
|
@ -27,18 +27,17 @@
|
|||
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; [
|
||||
amberol
|
||||
fractal
|
||||
gnome.gnome-calculator
|
||||
hyperfine
|
||||
mousai
|
||||
];
|
||||
|
||||
programs.obs-studio.enable = true;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
];
|
||||
|
||||
### home-manager
|
||||
home-manager.users.guanranwang = import ./home;
|
||||
home-manager.users.guanranwang = import ../../../../home;
|
||||
|
||||
users.mutableUsers = false;
|
||||
home-manager = {
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../home
|
||||
../../../../../home/applications/trashy
|
||||
];
|
||||
}
|
|
@ -1,12 +1,23 @@
|
|||
{...}: {
|
||||
imports = map (n: ../../../../../../home/applications/${n}) [
|
||||
"steam"
|
||||
"prismlauncher"
|
||||
"osu-lazer"
|
||||
#"osu-stable"
|
||||
"mangohud"
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
gamePkgs = inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
in {
|
||||
programs.mangohud.enable = true;
|
||||
|
||||
# VOIP
|
||||
"mumble"
|
||||
];
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
(prismlauncher.override {glfw = glfw-wayland-minecraft;})
|
||||
mumble
|
||||
steam
|
||||
# (pkgs.steam.override {extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${gamePkgs.proton-ge}'";})
|
||||
# lunar-client
|
||||
# protonup-qt
|
||||
]
|
||||
++ (with gamePkgs; [
|
||||
osu-lazer-bin
|
||||
# (osu-stable.override {location = "${config.xdg.dataHome}/osu-stable";})
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue