home, darwin: sorting
This commit is contained in:
parent
2c33dc6b8e
commit
cd0e5a48bf
6 changed files with 44 additions and 34 deletions
|
@ -1,13 +1,6 @@
|
|||
{...}: {
|
||||
### home-manager
|
||||
home-manager.users.guanranwang.imports = map (n: ../../../../home-manager/${n}) [
|
||||
"applications/alacritty"
|
||||
"applications/fish"
|
||||
"applications/bash"
|
||||
"applications/helix"
|
||||
"applications/neovim"
|
||||
"applications/vscode"
|
||||
|
||||
"profiles/graphical-stuff/darwin"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,19 +1,3 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||||
in {
|
||||
# import the flake's module for your system
|
||||
imports = [inputs.spicetify-nix.homeManagerModule];
|
||||
|
||||
# configure spicetify :)
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
adblock
|
||||
keyboardShortcut
|
||||
];
|
||||
};
|
||||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.spotify];
|
||||
}
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||||
in {
|
||||
# import the flake's module for your system
|
||||
imports = [inputs.spicetify-nix.homeManagerModule];
|
||||
|
||||
# configure spicetify :)
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
adblock
|
||||
keyboardShortcut
|
||||
];
|
||||
};
|
||||
}
|
|
@ -4,6 +4,28 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = map (n: ../../../../home-manager/applications/${n}) [
|
||||
# Terminal
|
||||
"alacritty"
|
||||
|
||||
# Shell
|
||||
"fish"
|
||||
"bash"
|
||||
|
||||
# Editor
|
||||
"helix"
|
||||
"neovim"
|
||||
"vscode"
|
||||
|
||||
# Language
|
||||
"nix"
|
||||
"go"
|
||||
|
||||
# Media
|
||||
"mpv"
|
||||
"spotify"
|
||||
];
|
||||
|
||||
home = {
|
||||
activation = {
|
||||
# Workaround for spotlight indexing
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
# Media
|
||||
"loupe"
|
||||
"mpv"
|
||||
"spotify"
|
||||
"spotify/spicetify"
|
||||
"amberol"
|
||||
"mousai"
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.mpv.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
### Streaming
|
||||
spotify
|
||||
yesplaymusic
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue