Compare commits

..

No commits in common. "f012eb6d2bef1cd3881668b8a7c5984011f0cad4" and "7c7f1ca3398a3c14f02f009a1a7f760af76279c6" have entirely different histories.

7 changed files with 2 additions and 40 deletions

1
.envrc
View file

@ -1 +0,0 @@
use flake

4
.gitignore vendored
View file

@ -6,7 +6,3 @@ result-*
# ---> Kate # ---> Kate
# Ignore kate's swap files # Ignore kate's swap files
*.kate-swp *.kate-swp
# ---> Direnv
.direnv

View file

@ -1,17 +0,0 @@
# Hide the default option from the recipes list
_default: print-recipes
find-results:
find . -name '*result*'
print-recipes:
@just --list
alias build := build-nixos
# Build a NixOS configuration
build-nixos host=`hostname`:
nixos-rebuild build --flake .#{{host}}
# nix-diff with some parameters piped to less
nix-diff left right:
nix-diff --color=always --skip-already-compared {{left}} {{right}} | less -F

View file

@ -101,15 +101,13 @@
in in
{ {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell { devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
name = "toast-devshell"; name = "Environment for toast's nixos configurations";
# The agenix cli is not needed to activate a configuration, so instead of installing it # The agenix cli is not needed to activate a configuration, so instead of installing it
# I'll just add it to de devShell, since that's the only real time I'm going to use it. # I'll just add it to de devShell, since that's the only real time I'm going to use it.
packages = with nixpkgs.legacyPackages.x86_64-linux; [ packages = with nixpkgs.legacyPackages.x86_64-linux; [
agenix.packages.x86_64-linux.default agenix.packages.x86_64-linux.default
git git
nix-diff nix-diff
just
nix-diff
]; ];
shellHook ='' shellHook =''
export PS1="$PS1(toast-configs)> " export PS1="$PS1(toast-configs)> "

View file

@ -2,9 +2,6 @@
{ {
home-manager.users.toast = { config, ... }: { home-manager.users.toast = { config, ... }: {
programs.bash = { programs.bash.enable = true;
enable = true;
enableVteIntegration = true;
}; };
};
} }

View file

@ -14,7 +14,6 @@
./bat.nix ./bat.nix
./btop.nix ./btop.nix
./helix.nix ./helix.nix
./direnv.nix
]; ];
# Some programs dont have a programs.*.enable option, so I install their package here # Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -1,10 +0,0 @@
{ ... }:
{
programs.direnv = {
enable = true;
nix-direnv = {
enable = true;
};
};
}