Switch to doom emacs

This commit is contained in:
nostoromo root
2020-12-02 08:44:56 -08:00
parent 28e8e54f0c
commit eef3234edb
5 changed files with 139 additions and 41 deletions
+17 -5
View File
@@ -2,15 +2,15 @@
{ config, pkgs, lib, ... }:
{
lib = {
buildLisp = import ./lib/buildLisp.nix {};
};
let
state-version = "20.03";
in {
imports = [
./hardware-configuration.nix
./packages/local.nix
./config/local.nix
<home-manager/nixos>
];
nixpkgs.config.allowUnfree = true;
@@ -25,6 +25,7 @@
boot
bind
binutils
# bpytop
btrfs-progs
bundix
byobu
@@ -33,6 +34,7 @@
certbot
clang
curl
doomEmacsInit
dpkg
enca
fail2ban
@@ -45,6 +47,7 @@
google-cloud-sdk
guile
heimdalFull
home-manager
imagemagick
ipfs
iptables
@@ -91,7 +94,7 @@
yubikey-personalization
];
system.stateVersion = "20.03";
system.stateVersion = state-version;
system.autoUpgrade.enable = true;
@@ -134,6 +137,9 @@
enableSSHSupport = true;
};
fish = {
enable = true;
};
};
services = {
@@ -200,6 +206,7 @@
uid = 10000;
createHome = true;
description = "Niten";
shell = pkgs.fish;
extraGroups = ["wheel" "audio" "video" "disk" "floppy" "lp" "cdrom" "tape" "dialout" "adm" "input" "systemd-journal" "fudosys" "libvirtd"];
group = "users";
home = "/home/niten";
@@ -226,6 +233,11 @@
};
};
home-manager.users = {
niten = import ./users/niten.nix { inherit config pkgs lib; };
root = import ./users/root.nix { inherit config pkgs lib; };
};
systemd.services.fudo-environment-init = {
enable = true;
description = "Fudo common settings.";