mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
realized I was inheriting nipkgs in my nixosSystems
added ways to use different branches of nixpkgs made unfree packages have to specified switched to nix master branch moved sxhkd from a seperate flake switched spotify and maim versions because both are broken on nixos-unstable right now moved afk-cmds from local to remote added flake-utils for easier devShell decleration switched my mom's laptop to stable branch
This commit is contained in:
parent
0132cde3f7
commit
dc2db4a9bc
45 changed files with 449 additions and 1878 deletions
|
|
@ -1,18 +1,22 @@
|
|||
{pkgs, ...}: rec {
|
||||
{
|
||||
nvim-flake,
|
||||
fetch-rs,
|
||||
suckless,
|
||||
...
|
||||
}: {pkgs, ...}: rec {
|
||||
#put:
|
||||
#source /run/current-system/sw/share/nix-direnv/direnvrc
|
||||
#in ~/.direnvrc
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
dash
|
||||
neovim
|
||||
page
|
||||
zsh
|
||||
st
|
||||
exa
|
||||
fetch-rs
|
||||
direnv
|
||||
(pkgs.nix-direnv.override {enableFlakes = true;})
|
||||
systemPackages = [
|
||||
pkgs.dash
|
||||
pkgs.page
|
||||
pkgs.exa
|
||||
pkgs.direnv
|
||||
pkgs.nix-direnv
|
||||
nvim-flake.packages.${pkgs.system}.default
|
||||
fetch-rs.packages.${pkgs.system}.default
|
||||
suckless.packages.${pkgs.system}.st
|
||||
];
|
||||
binsh = "${pkgs.dash}/bin/dash"; #use dash for speed
|
||||
variables = {
|
||||
|
|
@ -34,7 +38,7 @@
|
|||
switch = "nixos-rebuild switch";
|
||||
boot = "nixos-rebuild boot";
|
||||
clean = "nix-collect-garbage -d";
|
||||
gc-force = "rm /nix/var/gcroots/auto/*";
|
||||
gc-force = "rm /nix/var/nix/gcroots/auto/*";
|
||||
gc-check = "find -H /nix/var/nix/gcroots/auto -type l | xargs -I {} sh -c 'readlink {}; realpath {}; echo' | page";
|
||||
#vim stuff
|
||||
vi = "nvim";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue