This commit is contained in:
Sridhar Ratnakumar 2021-04-16 22:29:47 -04:00
parent 9a1a5af766
commit a29306fdf9
6 changed files with 16 additions and 27 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
fonts = {
fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [
@ -15,9 +15,6 @@
# For fish powerline plugin
powerline-fonts
cascadia-code
# Doom emacs
emacs-all-the-icons-fonts
];
};
}

View file

@ -1,6 +0,0 @@
{ pkgs, inputs, ... }: {
nixpkgs.overlays = [ inputs.emacs-overlay.overlay ];
environment.systemPackages = with pkgs; [
emacsUnstable
];
}

14
features/self-ide.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, inputs, ... }: {
# For no-prompt Ctrl+Shift+B in VSCode
security.sudo.extraRules = [
{
users = [ "srid" ];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];
}
];
}

View file

@ -27,6 +27,7 @@
configurationNix
# Features common to all of my machines
./features/self-ide.nix
./features/current-location.nix
./features/passwordstore.nix
./features/syncthing.nix

View file

@ -117,7 +117,6 @@ in
t = "tig";
l = "ls --color=always";
h = "${himalaya}/bin/himalaya";
em = "TERM=xterm-direct emacs -nw";
};
sessionVariables = { };
};

View file

@ -68,31 +68,15 @@
gnome3.gnome-tweaks
google-chrome
htop
obsidian
psmisc
ripgrep
signal-desktop
vscode
opera
];
services = {
openssh.enable = true;
};
security.sudo.extraRules = [
{
users = [ "srid" ];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];
}
];
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];