mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
environment changes
This commit is contained in:
parent
b088bbcd57
commit
aea8d79274
4 changed files with 7 additions and 14 deletions
|
|
@ -14,12 +14,18 @@
|
|||
SYSTEMD_PAGERSECURE = "true";
|
||||
TERMINAL = "st";
|
||||
};
|
||||
shellAliases = {
|
||||
ls = "exa --long --icons";
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
neofetch
|
||||
'';
|
||||
};
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
execWheelOnly = true;
|
||||
extraConfig = ''
|
||||
Defaults env_keep += "EDITOR VISUAL PAGER SYSTEMD_PAGERSECURE TERMINAL"
|
||||
Defaults env_keep += "EDITOR VISUAL PAGER SYSTEMD_PAGERSECURE TERMINAL"
|
||||
'';
|
||||
};
|
||||
#hardware stuff
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@
|
|||
};
|
||||
nix = {
|
||||
nixPath = [
|
||||
"repl=/etc/nix/flake-channels/system/repl.nix"
|
||||
"nixpkgs=/etc/nix/flake-channels/nixpkgs"
|
||||
"home-manager=/etc/nix/flake-channels/home-manager"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -8,10 +8,6 @@
|
|||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
};
|
||||
interactiveShellInit = "neofetch";
|
||||
shellAliases = {
|
||||
ls = "exa --long --icons";
|
||||
};
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
|
|
|
|||
8
repl.nix
8
repl.nix
|
|
@ -1,8 +0,0 @@
|
|||
let
|
||||
flake = builtins.getFlake (toString ./.);
|
||||
nixpkgs = import <nixpkgs> {};
|
||||
in {
|
||||
inherit flake;
|
||||
inherit nixpkgs;
|
||||
nixos = flake.nixosConfigurations;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue