mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Fixed
This commit is contained in:
parent
180a98fa25
commit
fb675823f3
4 changed files with 14 additions and 8 deletions
|
|
@ -3,7 +3,9 @@
|
||||||
My personal NixOS stash🔥
|
My personal NixOS stash🔥
|
||||||
|
|
||||||
The `sysConfig` directory contains subdirectories for each of my machines🖥️
|
The `sysConfig` directory contains subdirectories for each of my machines🖥️
|
||||||
|
|
||||||
In the `homeConfig`🏠️ directory, you'll find various dotfiles and config files that make my home directory extra nixy
|
In the `homeConfig`🏠️ directory, you'll find various dotfiles and config files that make my home directory extra nixy
|
||||||
|
|
||||||
`terminal` contains a config with my IDE📝 and configs by calling `nix build` against this flake.
|
`terminal` contains a config with my IDE📝 and configs by calling `nix build` against this flake.
|
||||||
|
|
||||||
If you need a list of available Nix packages and options:
|
If you need a list of available Nix packages and options:
|
||||||
|
|
@ -15,8 +17,10 @@ If you need a list of available Nix packages and options:
|
||||||
## Get Inspired 🌟
|
## Get Inspired 🌟
|
||||||
|
|
||||||
Fork this repo and create your own NixOS config💫
|
Fork this repo and create your own NixOS config💫
|
||||||
|
|
||||||
Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
|
Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
|
||||||
⚠️ Be sure to tailor any settings related to my hardware and system to your own hardware⚠️
|
|
||||||
|
⚠️ Be sure to tailor any settings related to my hardware and system to your own hardware⚠️
|
||||||
|
|
||||||
👉️Run `nixos-generate-config` if you need a new `hardware-configuration.nix`
|
👉️Run `nixos-generate-config` if you need a new `hardware-configuration.nix`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,12 @@
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
myTerminal = pkgs.callPackage ./terminal/shell.nix { };
|
configs = builtins.fetchTarball {
|
||||||
|
url = "https://github.com/itme-brain/nixos/raw/yolo-allin/terminal/configs.tar.gz";
|
||||||
|
sha256 = "1q6qcwp06hgia0wiz11jynxjh8l527ckfjpgz1cylczdfbv60vk1";
|
||||||
|
};
|
||||||
|
|
||||||
|
myTerminal = pkgs.callPackage ./terminal/shell.nix { inherit configs; };
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs, configs, ... }:
|
||||||
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
@ -13,9 +13,7 @@ mkShell {
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo "Preparing your environment, Bryan..."
|
echo "Preparing your environment, Bryan..."
|
||||||
|
|
||||||
wget https://github.com/itme-brain/nixos/tree/yolo-allin/terminal/configs.tar.gz
|
tar -xzvf ${configs} -C .
|
||||||
|
|
||||||
tar -xzvf configs.tar.gz -C .
|
|
||||||
|
|
||||||
if [ -f ~/.bashrc ] || [ -f ~/.config/alacritty/alacritty.yml ] || [ -d ~/.config/nvim ] || [ -f ~/.gitconfig ]; then
|
if [ -f ~/.bashrc ] || [ -f ~/.config/alacritty/alacritty.yml ] || [ -d ~/.config/nvim ] || [ -f ~/.gitconfig ]; then
|
||||||
echo "Backing up existing config files..."
|
echo "Backing up existing config files..."
|
||||||
|
|
@ -37,7 +35,6 @@ mkShell {
|
||||||
|
|
||||||
gpg --import configs/pub.key
|
gpg --import configs/pub.key
|
||||||
|
|
||||||
rm configs.tar.gz
|
|
||||||
rm configs
|
rm configs
|
||||||
find . -type d -empty -delete
|
find . -type d -empty -delete
|
||||||
|
|
||||||
|
|
@ -55,6 +52,6 @@ mkShell {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Terminal ready."
|
echo "Terminal ready."
|
||||||
echp "Run `ldv` to get some existing environments."
|
echo "Run `ldv` to get some existing environments."
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue