Extract nano settings into a shared modules
This commit is contained in:
parent
ae246349e1
commit
92543dc702
5 changed files with 15 additions and 30 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ modulesPath, nixosModules, agenix, pkgs, config, ... }: {
|
||||
imports = [
|
||||
"${modulesPath}/virtualisation/amazon-image.nix"
|
||||
nixosModules.nano
|
||||
nixosModules.nettika
|
||||
nixosModules.promptmoji
|
||||
agenix.nixosModules.default
|
||||
|
|
@ -15,8 +16,6 @@
|
|||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
environment.variables.EDITOR = "nano";
|
||||
|
||||
networking = {
|
||||
hostName = "quasar";
|
||||
networkmanager.enable = true;
|
||||
|
|
@ -71,14 +70,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.nano = {
|
||||
enable = true;
|
||||
nanorc = ''
|
||||
set autoindent
|
||||
set linenumbers
|
||||
'';
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
promptSymbol = "🌟";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue