mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-12-23 04:13:05 +01:00
Compare commits
No commits in common. "8140ca0cca0cc7e262c148d409709ff167b4355c" and "d371f20707104eb6f6b811b6c119a12c84688cbe" have entirely different histories.
8140ca0cca
...
d371f20707
6 changed files with 23 additions and 41 deletions
39
flake.lock
39
flake.lock
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715270390,
|
"lastModified": 1714131597,
|
||||||
"narHash": "sha256-j4k51vcfTCgEPElhB+/4fL8MA05HhC+vZvUh1eQYzc0=",
|
"narHash": "sha256-ucAlX+UadBzeNYRcbNhQ4Tey+0eGfRL2xlvL9whHhCA=",
|
||||||
"owner": "dagger",
|
"owner": "dagger",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "561a09f4c8b0eadf291f072b2e35498d9e33cdb9",
|
"rev": "1b634d4d8d78e50c6cbf8899238c946964b10249",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -93,11 +93,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715486357,
|
"lastModified": 1714679908,
|
||||||
"narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=",
|
"narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1",
|
"rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -207,26 +207,6 @@
|
||||||
"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",
|
||||||
|
@ -303,11 +283,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715447595,
|
"lastModified": 1714635257,
|
||||||
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
|
"narHash": "sha256-4cPymbty65RvF1DWQfc+Bc8B233A1BWxJnNULJKQ1EY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
|
"rev": "63c3a29ca82437c87573e4c6919b09a24ea61b0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -353,7 +333,6 @@
|
||||||
"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,10 +24,6 @@
|
||||||
};
|
};
|
||||||
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 = {
|
||||||
|
@ -75,10 +71,7 @@
|
||||||
homeConfigurations."thilo@thilo-pc" =
|
homeConfigurations."thilo@thilo-pc" =
|
||||||
home-manager.lib.homeManagerConfiguration {
|
home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [
|
modules = [ ./configs/fedora/home.nix ];
|
||||||
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,6 +117,16 @@ 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,7 +89,6 @@ in
|
||||||
config.machine.isGraphical
|
config.machine.isGraphical
|
||||||
) then [
|
) then [
|
||||||
(nixGL insomnia)
|
(nixGL insomnia)
|
||||||
(nixGL comma)
|
|
||||||
] else
|
] else
|
||||||
[ ]
|
[ ]
|
||||||
) ++ (
|
) ++ (
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{ programs.command-not-found = { enable = false; }; }
|
{ programs.command-not-found = { enable = true; }; }
|
||||||
|
|
|
@ -18,8 +18,9 @@
|
||||||
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