nice root shell
This commit is contained in:
parent
6ea6fbaa9c
commit
1d438b291d
@ -377,11 +377,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722536391,
|
"lastModified": 1722691995,
|
||||||
"narHash": "sha256-LAL00y8IMU1I2IMTy4q8vlBW+hS6ulElh1kX+CWJgSo=",
|
"narHash": "sha256-TWpmjsNJN75sHfAfsFTlhSl2t5ZQtoRTthu2XfaFnpw=",
|
||||||
"owner": "ivandimitrov8080",
|
"owner": "ivandimitrov8080",
|
||||||
"repo": "flake-ide",
|
"repo": "flake-ide",
|
||||||
"rev": "24a89c8ed56a635683decec0e0d43b132c404150",
|
"rev": "c3a2cc3f24a854ad91513f1692607764ee9e6b8e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -111,9 +111,6 @@ toplevel@{ moduleWithSystem, ... }: {
|
|||||||
ls = "eza";
|
ls = "eza";
|
||||||
la = "eza --all";
|
la = "eza --all";
|
||||||
lt = "eza --git-ignore --all --tree --level=10";
|
lt = "eza --git-ignore --all --tree --level=10";
|
||||||
torrent = "transmission-remote";
|
|
||||||
torrent-start = "transmission-daemon";
|
|
||||||
vi = "nvim";
|
|
||||||
sc = "systemctl";
|
sc = "systemctl";
|
||||||
neofetch = "${pkgs.fastfetch}/bin/fastfetch -c all.jsonc";
|
neofetch = "${pkgs.fastfetch}/bin/fastfetch -c all.jsonc";
|
||||||
};
|
};
|
||||||
|
@ -3,7 +3,7 @@ let
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
mods = toplevel.config.flake.nixosModules;
|
mods = toplevel.config.flake.nixosModules;
|
||||||
hardwareConfigurations = toplevel.config.flake.hardwareConfigurations;
|
hardwareConfigurations = toplevel.config.flake.hardwareConfigurations;
|
||||||
essential = with mods; [ grub base security wireless wireguard ];
|
essential = with mods; [ grub base shell security wireless wireguard ];
|
||||||
desktop = with mods; [ sound wayland ];
|
desktop = with mods; [ sound wayland ];
|
||||||
configWithModules = { hardware, modules }: withSystem system (ctx@{ config, inputs', pkgs, ... }: inputs.nixpkgs.lib.nixosSystem {
|
configWithModules = { hardware, modules }: withSystem system (ctx@{ config, inputs', pkgs, ... }: inputs.nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
@ -31,6 +31,34 @@ top@{ inputs, moduleWithSystem, ... }: {
|
|||||||
};
|
};
|
||||||
networking = { stevenBlackHosts = { enable = true; blockFakenews = true; blockGambling = true; blockSocial = true; }; };
|
networking = { stevenBlackHosts = { enable = true; blockFakenews = true; blockGambling = true; blockSocial = true; }; };
|
||||||
});
|
});
|
||||||
|
shell = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
|
||||||
|
programs = {
|
||||||
|
starship.enable = true;
|
||||||
|
zsh = {
|
||||||
|
enableBashCompletion = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
autosuggestions = {
|
||||||
|
enable = true;
|
||||||
|
strategy = [ "completion" ];
|
||||||
|
};
|
||||||
|
shellAliases = {
|
||||||
|
cal = "cal $(date +%Y)";
|
||||||
|
GG = "git add . && git commit -m 'GG' && git push --set-upstream origin HEAD";
|
||||||
|
gad = "git add . && git diff --cached";
|
||||||
|
gac = "ga && gc";
|
||||||
|
ga = "git add .";
|
||||||
|
gc = "git commit";
|
||||||
|
dev = "nix develop --command $SHELL";
|
||||||
|
eza = "${pkgs.eza}/bin/eza '--long' '--header' '--icons' '--smart-group' '--mounts' '--octal-permissions' '--git'";
|
||||||
|
ls = "eza";
|
||||||
|
la = "eza --all";
|
||||||
|
lt = "eza --git-ignore --all --tree --level=10";
|
||||||
|
sc = "systemctl";
|
||||||
|
neofetch = "${pkgs.fastfetch}/bin/fastfetch -c all.jsonc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
sound = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
|
sound = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
|
||||||
services = { pipewire = { enable = true; alsa.enable = true; pulse.enable = true; }; };
|
services = { pipewire = { enable = true; alsa.enable = true; pulse.enable = true; }; };
|
||||||
environment.systemPackages = with pkgs; [ pwvucontrol ];
|
environment.systemPackages = with pkgs; [ pwvucontrol ];
|
||||||
|
Loading…
Reference in New Issue
Block a user