mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: add nixos (doesn't work yet)
This commit is contained in:
parent
9f1c1a8c22
commit
d44d3919ed
7 changed files with 194 additions and 35 deletions
33
home.nix
33
home.nix
|
|
@ -4,20 +4,25 @@
|
|||
ctpModule,
|
||||
discord-applemusic-rich-presence,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
inherit (pkgs) lib stdenv;
|
||||
in {
|
||||
home.stateVersion = "23.05";
|
||||
imports = [
|
||||
ctpModule
|
||||
discord-applemusic-rich-presence
|
||||
./programs/zsh.nix
|
||||
./programs/fish.nix
|
||||
./programs/starship.nix
|
||||
./programs/git.nix
|
||||
./programs/bat.nix
|
||||
./programs/helix.nix
|
||||
./programs/go.nix
|
||||
./programs/exa.nix
|
||||
];
|
||||
imports =
|
||||
[
|
||||
ctpModule
|
||||
./programs/zsh.nix
|
||||
./programs/fish.nix
|
||||
./programs/starship.nix
|
||||
./programs/git.nix
|
||||
./programs/bat.nix
|
||||
./programs/helix.nix
|
||||
./programs/go.nix
|
||||
./programs/exa.nix
|
||||
]
|
||||
++ lib.optional stdenv.isDarwin [
|
||||
discord-applemusic-rich-presence.overlays.default
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -25,7 +30,7 @@
|
|||
ryan-term-bin
|
||||
];
|
||||
|
||||
services.discord-applemusic-rich-presence = {
|
||||
services.discord-applemusic-rich-presence = lib.optionalAttrs stdenv.isDarwin {
|
||||
enable = true;
|
||||
logFile = "${config.home.homeDirectory}/Library/Logs/discord-applemusic-rich-presence.log";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue