Compare commits
No commits in common. "f012eb6d2bef1cd3881668b8a7c5984011f0cad4" and "7c7f1ca3398a3c14f02f009a1a7f760af76279c6" have entirely different histories.
f012eb6d2b
...
7c7f1ca339
7 changed files with 2 additions and 40 deletions
1
.envrc
1
.envrc
|
|
@ -1 +0,0 @@
|
|||
use flake
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -6,7 +6,3 @@ result-*
|
|||
# ---> Kate
|
||||
# Ignore kate's swap files
|
||||
*.kate-swp
|
||||
|
||||
|
||||
# ---> Direnv
|
||||
.direnv
|
||||
|
|
|
|||
17
.justfile
17
.justfile
|
|
@ -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
|
||||
|
|
@ -101,15 +101,13 @@
|
|||
in
|
||||
{
|
||||
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
|
||||
# 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; [
|
||||
agenix.packages.x86_64-linux.default
|
||||
git
|
||||
nix-diff
|
||||
just
|
||||
nix-diff
|
||||
];
|
||||
shellHook =''
|
||||
export PS1="$PS1(toast-configs)> "
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
{
|
||||
home-manager.users.toast = { config, ... }: {
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableVteIntegration = true;
|
||||
programs.bash.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
./bat.nix
|
||||
./btop.nix
|
||||
./helix.nix
|
||||
./direnv.nix
|
||||
];
|
||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue