adjusting some scripts and small configs

This commit is contained in:
Chris Cochrun 2022-05-17 09:24:24 -05:00
parent 8bc16bd6f5
commit fc209bda6d
18 changed files with 372 additions and 81 deletions

View file

@ -128,6 +128,22 @@ services.pipewire = {
programs.dconf.enable = true;
#+end_src
To make sure certain things are setup properly I'll modify the shells a bit.
#+NAME: shell
#+begin_src nix
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash
# environment.binsh = "${pkgs.dash}/bin/dash";
environment.variables = {
EDITOR = "emacsclient -t -a";
VISUAL = "emacsclient -c -a";
};
environment.homeBinInPath = true;
programs.fish.enable = true;
programs.zsh.enable = true;
#+end_src
*** Packages
Here are a list of packages that I like to have on all machines.
#+NAME: general-packages
#+begin_src nix
@ -161,6 +177,8 @@ sddm-kcm
ydotool
bottles
exa
imv
feh
mpv
yt-dlp
rofi-emoji
@ -197,13 +215,19 @@ pulsemixer
any-nix-shell
wtype
xdotool
wmctrl
xcape
unclutter-xfixes
bluez-tools
networkmanager_dmenu
qt5ct
lxappearance
spotdl
kdenlive
ffmpeg
wlroots
picom-next
pamixer
#+end_src
Here are some dev tools that I often have on a few devices.
@ -256,12 +280,13 @@ nixpkgs.overlays = [
];
#+end_src
*** Emacs
Emacs service
#+NAME: emacs
#+begin_src nix
services.emacs = {
enable = true;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools ]));
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
};
#+end_src
@ -300,14 +325,6 @@ Notice how I am including all of my software here. It may be a big file, but hav
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash
# environment.binsh = "${pkgs.dash}/bin/dash";
environment.variables = {
EDITOR = "emacsclient -t";
VISUAL = "emacsclient -c";
};
hardware.uinput.enable = true;
nixpkgs.config.packageOverrides = pkgs: {
@ -365,8 +382,8 @@ Notice how I am including all of my software here. It may be a big file, but hav
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
programs.fish.enable = true;
programs.zsh.enable = true;
<<shell>>
# Define a user account. Don't forget to set a password with passwd.
users.users.chris = {
isNormalUser = true;
@ -390,8 +407,6 @@ Notice how I am including all of my software here. It may be a big file, but hav
<<general-packages>>
neofetch
afetch
uwufetch
screenfetch
yafetch
freshfetch
disfetch
@ -556,8 +571,8 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
services.usbmuxd.enable = true;
services.fstrim.enable = true;
programs.fish.enable = true;
programs.zsh.enable = true;
<<shell>>
# Define a user account. Don't forget to set a password with passwd.
users.users.chris = {
isNormalUser = true;
@ -659,6 +674,9 @@ And here is it's hardware config.
Kaladin is still not fullly setup, so I'll be working on that more and more as time goes.
** Home
I also use home-manager for managing dotfiles. This means that everything is contained in this folder and then tangled out to their respective places when rebuilding the system.
* Thanks!
* EXTRA