diff --git a/base/programs.nix b/base/programs.nix index 08affee..c85460f 100644 --- a/base/programs.nix +++ b/base/programs.nix @@ -13,6 +13,9 @@ # Debug and find files file + # Process json data + jq + # Check computer specs lshw @@ -54,6 +57,8 @@ programs.nano.enable = true; # Same reasoning as nano programs.vim.enable = true; + # Same reasoning as vim + programs.neovim.enable = true; # Some people like this shell for some reason programs.zsh.enable = true; diff --git a/flake.nix b/flake.nix index 2d59513..d2b2741 100644 --- a/flake.nix +++ b/flake.nix @@ -237,7 +237,6 @@ inputs.dibbler.overlays.default (final: prev: { atool = prev.emptyDirectory; - neovim = prev.vim; micro = prev.vim; }) ]; diff --git a/users/adriangl.nix b/users/adriangl.nix index 05df8f0..eaa035f 100644 --- a/users/adriangl.nix +++ b/users/adriangl.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { users.users.adriangl = { isNormalUser = true; @@ -9,14 +9,6 @@ "nix-builder-users" ]; - packages = with pkgs; [ - neovim - htop - ripgrep - vim - foot.terminfo - ]; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFa5y7KyLn2tjxed1czMbyM5scnEpo9v/GfnhL/28ckM legolas" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf7SlyHR6KgP7+IeFr/Iuiu2lL5vaSlzqPonaO8XU0J gunalx@aragon" diff --git a/users/albertba.nix b/users/albertba.nix index b786e59..462554f 100644 --- a/users/albertba.nix +++ b/users/albertba.nix @@ -1,18 +1,14 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { users.users.albertba = { isNormalUser = true; extraGroups = [ "wheel" "drift" "nix-builder-users" ]; packages = with pkgs; [ - htop - neovim - ripgrep fd - tmux ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICheSCAxsYc/6g8hq2lXXHoUWPjWvntzzTA7OhG8waMN albert@Arch" @@ -20,4 +16,3 @@ }; } - diff --git a/users/alfhj.nix b/users/alfhj.nix index c25c6a8..2ab2df8 100644 --- a/users/alfhj.nix +++ b/users/alfhj.nix @@ -1,13 +1,12 @@ -{pkgs, ...}: +{ config, pkgs, ... }: { users.users.alfhj = { isNormalUser = true; extraGroups = [ "wheel" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMCAYE0U3sFizm/NSbKCs0jEhZ1mpAWPcijFevejiFL1 alfhj" ]; }; } - diff --git a/users/amalieem.nix b/users/amalieem.nix index d1b26d3..a933c29 100644 --- a/users/amalieem.nix +++ b/users/amalieem.nix @@ -1,10 +1,10 @@ -{pkgs, ...}: +{ config, pkgs, ... }: { users.users.amalieem = { isNormalUser = true; extraGroups = [ "wheel" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsMtFIj4Dem/onwMoWYbosOcU4y7A5nTjVwqWaU33E1 amalieem@matey-aug22" ]; diff --git a/users/danio.nix b/users/danio.nix index d3b878d..a0b99ab 100644 --- a/users/danio.nix +++ b/users/danio.nix @@ -1,10 +1,10 @@ -{pkgs, ...}: +{ config, pkgs, ... }: { users.users.danio = { isNormalUser = true; extraGroups = [ "drift" "nix-builder-users" "wheel" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp8iMOx3eTiG5AmDh2KjKcigf7xdRKn9M7iZQ4RqP0np0UN2NUbu+VAMJmkWFyi3JpxmLuhszU0F1xY+3qM3ARduy1cs89B/bBE85xlOeYhcYVmpcgPR5xduS+TuHTBzFAgp+IU7/lgxdjcJ3PH4K0ruGRcX1xrytmk/vdY8IeSk3GVWDRrRbH6brO4cCCFjX0zJ7G6hBQueTPQoOy3jrUvgpRkzZY4ZCuljXtxbuX5X/2qWAkp8ca0iTQ5FzNA5JUyj+DWeEzjIEz6GrckOdV2LjWpT9+CtOqoPZOUudE1J9mJk4snNlMQjE06It7Kr50bpwoPqnxjo7ZjlHFLezl" diff --git a/users/default.nix b/users/default.nix index 3d16fb4..eea1680 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,4 +1,4 @@ -{lib, ...}: +{ lib, ... }: with lib; let # get all files in folder diff --git a/users/felixalb.nix b/users/felixalb.nix index 4ec6225..7d1278f 100644 --- a/users/felixalb.nix +++ b/users/felixalb.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, ... }: +{ config, pkgs, lib, ... }: { users.users.felixalb = { isNormalUser = true; @@ -7,7 +7,7 @@ ] ++ lib.optionals ( config.users.groups ? "libvirtd" ) [ "libvirtd" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBTXSL0w7OUcz1LzEt1T3I3K5RgyNV+MYz0x/1RbpDHQ felixalb@worf" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKzPICGew7uN0cmvRmbwkwTCodTBUgEhkoftQnZuO4Q felixalb@pvv.ntnu.no" diff --git a/users/frero.nix b/users/frero.nix index 02e5853..2ea8080 100644 --- a/users/frero.nix +++ b/users/frero.nix @@ -1,9 +1,9 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { users.users.frero = { isNormalUser = true; extraGroups = [ "wheel" "drift" "nix-builder-users" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII09JbtSUMurvmHpJ7TmUQctXpNVhjFYhoJ3+1ZITmMx" ]; diff --git a/users/jonmro.nix b/users/jonmro.nix index 345d16f..1e5704d 100644 --- a/users/jonmro.nix +++ b/users/jonmro.nix @@ -1,10 +1,10 @@ -{pkgs, ...}: +{ config, pkgs, ... }: { users.users.jonmro = { isNormalUser = true; extraGroups = [ "wheel" "drift" "nix-builder-users" ]; - shell = pkgs.zsh; + shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEm5PfYmfl/0fnAP/3coVlvTw3/TYNLT6r/NwJHZbLAK jonrodtang@gmail.com" ]; diff --git a/users/oysteikt.nix b/users/oysteikt.nix index 41e5fca..20c170b 100644 --- a/users/oysteikt.nix +++ b/users/oysteikt.nix @@ -12,9 +12,6 @@ packages = with pkgs; [ bottom eza - neovim - ripgrep - tmux ]; openssh.authorizedKeys.keys = [ diff --git a/users/pederbs.nix b/users/pederbs.nix index 6f5f5d8..00a450e 100644 --- a/users/pederbs.nix +++ b/users/pederbs.nix @@ -14,14 +14,9 @@ bat edir fd - htop - jq micro ncdu - ripgrep sd - tmux - wget xe yq ]; diff --git a/users/vegardbm.nix b/users/vegardbm.nix index 8e0cba9..68383a2 100644 --- a/users/vegardbm.nix +++ b/users/vegardbm.nix @@ -11,9 +11,6 @@ packages = with pkgs; [ btop eza - neovim - ripgrep - tmux ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDVA3HqEx3je6L1AC+bP8sTxu3ZTKvTCR0npCyOVAYK5 vbm@arch-xeon"