Compare commits
1 Commits
7b93b1ac5b
...
b49f9f5c8e
Author | SHA1 | Date | |
---|---|---|---|
b49f9f5c8e
|
@@ -1,30 +1,16 @@
|
|||||||
{ user, home }:
|
{ user, home }:
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# FIXME: https://github.com/hrkfdn/ncspot/issues/1681#issuecomment-3186274719
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(final: prev: {
|
|
||||||
ncspot = prev.ncspot.overrideAttrs (oldAttrs: rec {
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "hrkfdn";
|
|
||||||
repo = "ncspot";
|
|
||||||
rev = "aac67d631f25bbc79f509d34aa85e6daff954830";
|
|
||||||
hash = "sha256-B6BA1ksfDEySZH6gzkU5khOzwXAmeHbMHsx3sXd9lbs=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
|
|
||||||
inherit src;
|
|
||||||
hash = "sha256-HrQJiIzSvu/vR03UdnCcU6TGToBDKKDC6XscjvX3KPE=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.persistence = {
|
environment.persistence = {
|
||||||
"/persist/state"."${home}/.config/ncspot/userstate.cbor" = { };
|
"/persist/state"."${home}/.config/ncspot/userstate.cbor" = { };
|
||||||
"/persist/cache"."${home}/.cache/ncspot" = { };
|
"/persist/cache"."${home}/.cache/ncspot" = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXME: https://github.com/hrkfdn/ncspot/issues/1676
|
||||||
|
networking.extraHosts = ''
|
||||||
|
0.0.0.0 apresolve.spotify.com
|
||||||
|
'';
|
||||||
|
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
programs.ncspot.enable = true;
|
programs.ncspot.enable = true;
|
||||||
|
|
||||||
|
@@ -48,11 +48,10 @@
|
|||||||
../common/configs/system/users
|
../common/configs/system/users
|
||||||
../common/configs/system/zsh
|
../common/configs/system/zsh
|
||||||
|
|
||||||
|
"${inputs.secrets}/hosts/elara/configs/globalprotect"
|
||||||
./configs/pki
|
./configs/pki
|
||||||
./configs/ssh
|
./configs/ssh
|
||||||
|
|
||||||
"${inputs.sas}/hosts/elara/configs/globalprotect"
|
|
||||||
|
|
||||||
./users/nikara
|
./users/nikara
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [ ./display.nix ];
|
||||||
./display.nix
|
|
||||||
./keybinds.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
{ lib, pkgs, ... }:
|
|
||||||
{
|
|
||||||
home-manager.sharedModules = [
|
|
||||||
{
|
|
||||||
wayland.windowManager.hyprland.settings.bindle =
|
|
||||||
let
|
|
||||||
brightnessctl = lib.meta.getExe pkgs.brightnessctl;
|
|
||||||
in
|
|
||||||
[
|
|
||||||
", XF86MonBrightnessUp, exec, ${brightnessctl} -q s 5%+"
|
|
||||||
", XF86MonBrightnessDown, exec, ${brightnessctl} -q s 5%-"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
@@ -31,7 +31,6 @@ in
|
|||||||
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/mprocs { inherit user home; })
|
(import ../../../common/configs/user/console/mprocs { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/ncdu { inherit user home; })
|
(import ../../../common/configs/user/console/ncdu { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/ncspot { inherit user home; })
|
|
||||||
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nix { inherit user home; })
|
(import ../../../common/configs/user/console/nix { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nix-cleanup { inherit user home; })
|
(import ../../../common/configs/user/console/nix-cleanup { inherit user home; })
|
||||||
@@ -77,6 +76,7 @@ in
|
|||||||
(import ../../../common/configs/user/gui/qt { inherit user home; })
|
(import ../../../common/configs/user/gui/qt { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/rofi { inherit user home; })
|
(import ../../../common/configs/user/gui/rofi { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/rquickshare { inherit user home; })
|
(import ../../../common/configs/user/gui/rquickshare { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/spicetify { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/swww { inherit user home; })
|
(import ../../../common/configs/user/gui/swww { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/theme { inherit user home; })
|
(import ../../../common/configs/user/gui/theme { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/vscode { inherit user home; })
|
(import ../../../common/configs/user/gui/vscode { inherit user home; })
|
||||||
|
@@ -29,7 +29,6 @@ in
|
|||||||
(import ../../../common/configs/user/console/libvirt { inherit user home; })
|
(import ../../../common/configs/user/console/libvirt { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/mprocs { inherit user home; })
|
(import ../../../common/configs/user/console/mprocs { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/ncdu { inherit user home; })
|
|
||||||
(import ../../../common/configs/user/console/ncspot { inherit user home; })
|
(import ../../../common/configs/user/console/ncspot { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nix { inherit user home; })
|
(import ../../../common/configs/user/console/nix { inherit user home; })
|
||||||
@@ -85,6 +84,7 @@ in
|
|||||||
(import ../../../common/configs/user/gui/qt { inherit user home; })
|
(import ../../../common/configs/user/gui/qt { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/rofi { inherit user home; })
|
(import ../../../common/configs/user/gui/rofi { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/rquickshare { inherit user home; })
|
(import ../../../common/configs/user/gui/rquickshare { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/spicetify { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/swww { inherit user home; })
|
(import ../../../common/configs/user/gui/swww { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/theme { inherit user home; })
|
(import ../../../common/configs/user/gui/theme { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/transmission { inherit user home; })
|
(import ../../../common/configs/user/gui/transmission { inherit user home; })
|
||||||
|
@@ -14,7 +14,6 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
(import ../../../common/configs/user { inherit user home; })
|
(import ../../../common/configs/user { inherit user home; })
|
||||||
|
|
||||||
(import ../../../common/configs/user/console/brightnessctl { inherit user home; })
|
|
||||||
(import ../../../common/configs/user/console/btop { inherit user home; })
|
(import ../../../common/configs/user/console/btop { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/fastfetch { inherit user home; })
|
(import ../../../common/configs/user/console/fastfetch { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/git { inherit user home; })
|
(import ../../../common/configs/user/console/git { inherit user home; })
|
||||||
|
@@ -14,7 +14,6 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
(import ../../../common/configs/user { inherit user home; })
|
(import ../../../common/configs/user { inherit user home; })
|
||||||
|
|
||||||
(import ../../../common/configs/user/console/brightnessctl { inherit user home; })
|
|
||||||
(import ../../../common/configs/user/console/btop { inherit user home; })
|
(import ../../../common/configs/user/console/btop { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/home-manager { inherit user home; })
|
(import ../../../common/configs/user/console/home-manager { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
||||||
|
@@ -14,7 +14,10 @@ pkgs.rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
|
|
||||||
cargoHash = "sha256-fMePvMnefdcN90Y3BPqcKNXyg7tUd64IOUnOQis/qTU=";
|
cargoHash = "sha256-fMePvMnefdcN90Y3BPqcKNXyg7tUd64IOUnOQis/qTU=";
|
||||||
|
|
||||||
env.VW_VERSION = finalAttrs.version;
|
env = {
|
||||||
|
VW_VERSION = finalAttrs.version;
|
||||||
|
RUST_MIN_STACK = 536870912;
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
1
submodules/sas
Submodule
1
submodules/sas
Submodule
Submodule submodules/sas added at 7bf093db0a
1
submodules/secrets
Submodule
1
submodules/secrets
Submodule
Submodule submodules/secrets added at 13b3145cba
Reference in New Issue
Block a user