mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 16:08:50 +01:00
Merge branch 'main' of https://github.com/thilobillerbeck/dotfiles
This commit is contained in:
commit
84cd7dc067
6 changed files with 32 additions and 14 deletions
21
flake.lock
21
flake.lock
|
@ -207,6 +207,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-index-database_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1715483403,
|
||||||
|
"narHash": "sha256-WMDuQj7J5jbpXI/X/E6FZRKgBFGcaSTvYyVxPnKE6KU=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "f9027322f48b427da23746aa359a6510dfcd0228",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixgl": {
|
"nixgl": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
|
@ -333,6 +353,7 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"muse-sounds-manager": "muse-sounds-manager",
|
"muse-sounds-manager": "muse-sounds-manager",
|
||||||
"nix-alien": "nix-alien",
|
"nix-alien": "nix-alien",
|
||||||
|
"nix-index-database": "nix-index-database_2",
|
||||||
"nixgl": "nixgl",
|
"nixgl": "nixgl",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-update": "nixpkgs-update",
|
"nixpkgs-update": "nixpkgs-update",
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
};
|
};
|
||||||
suyu.url = "github:Noodlez1232/suyu-flake";
|
suyu.url = "github:Noodlez1232/suyu-flake";
|
||||||
nix-alien.url = "github:thiagokokada/nix-alien";
|
nix-alien.url = "github:thiagokokada/nix-alien";
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:nix-community/nix-index-database";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
|
@ -71,7 +75,10 @@
|
||||||
homeConfigurations."thilo@thilo-pc" =
|
homeConfigurations."thilo@thilo-pc" =
|
||||||
home-manager.lib.homeManagerConfiguration {
|
home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./configs/fedora/home.nix ];
|
modules = [
|
||||||
|
inputs.nix-index-database.hmModules.nix-index
|
||||||
|
./configs/fedora/home.nix
|
||||||
|
];
|
||||||
extraSpecialArgs = { inherit inputs nixgl; };
|
extraSpecialArgs = { inherit inputs nixgl; };
|
||||||
};
|
};
|
||||||
homeConfigurations."thilo@thilo-laptop" =
|
homeConfigurations."thilo@thilo-laptop" =
|
||||||
|
|
|
@ -117,16 +117,6 @@ with lib; {
|
||||||
}]
|
}]
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
activation = {
|
|
||||||
setNodeGlobalDir = {
|
|
||||||
after = [ "writeBoundary" "createXdgUserDirectories" ];
|
|
||||||
before = [ ];
|
|
||||||
data = ''
|
|
||||||
mkdir -p ${config.home.homeDirectory}/.node-global
|
|
||||||
${pkgs.nodejs}/bin/npm config set prefix ${config.home.homeDirectory}/.node-global
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
sessionPath = [ "${config.home.homeDirectory}/.node-global/bin" ];
|
sessionPath = [ "${config.home.homeDirectory}/.node-global/bin" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,7 @@ in
|
||||||
config.machine.isGraphical
|
config.machine.isGraphical
|
||||||
) then [
|
) then [
|
||||||
(nixGL insomnia)
|
(nixGL insomnia)
|
||||||
|
(nixGL comma)
|
||||||
] else
|
] else
|
||||||
[ ]
|
[ ]
|
||||||
) ++ (
|
) ++ (
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{ programs.command-not-found = { enable = true; }; }
|
{ programs.command-not-found = { enable = false; }; }
|
||||||
|
|
|
@ -18,9 +18,8 @@
|
||||||
update-local = "bash $HOME/.dotfiles/install";
|
update-local = "bash $HOME/.dotfiles/install";
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
[ -d ~/.npm-global ] || mkdir ~/.npm-global
|
|
||||||
${pkgs.nodejs}/bin/npm config set prefix '~/.npm-global'
|
|
||||||
export PATH=~/.npm-global/bin:$PATH
|
export PATH=~/.npm-global/bin:$PATH
|
||||||
|
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
'';
|
'';
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue