hopefully updating things for laptop and dalinar

This commit is contained in:
Chris Cochrun 2022-10-24 06:30:32 -05:00
parent 6b27a9a6ee
commit c25f1f4cf1
8 changed files with 116 additions and 23 deletions

View file

@ -46,9 +46,12 @@ Both include the home-manager module. Primarily I chose that route so that I cou
nix-bitcoin = {
url = "github:fort-nix/nix-bitcoin/release";
};
libre-presenter = {
url = "gitlab:chriscochrun/church-presenter";
};
};
outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, emacs, nix-bitcoin, ... }:
outputs = { nixpkgs, nixpkgs-stable, home-manager, hyprland, emacs, nix-bitcoin, libre-presenter, ... }:
let
system = "x86_64-linux";
username = "chris";
@ -98,6 +101,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
./system/syl/configuration.nix
home-manager.nixosModules.home-manager
hyprland.nixosModules.default
# libre-presenter.defaultPackage
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
@ -350,6 +354,7 @@ audacity
krename
kwallet-pam
plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice
sddm-kcm
ydotool
@ -364,7 +369,7 @@ mpv
nerdfonts
latte-dock
alacritty
libsForQt5.bismuth
# libsForQt5.bismuth
libnotify
rofi-wayland
waybar
@ -378,6 +383,7 @@ vulkan-tools
wayland-utils
# mkchromecast
plocate
# librepresenter.libre-presenter
papirus-icon-theme
phinger-cursors
plasma-hud
@ -474,7 +480,13 @@ fennel
Let's create our own custom LightlyShaders package. This is in it's own file for now.
#+NAME: lightlyshaders
#+begin_src nix
(libsForQt5.callPackage ../../LightlyShaders {})
(with import <nixpkgs> {}; libsForQt5.callPackage ../../LightlyShaders {})
#+end_src
Let's also add our own package from my WIP presenter
#+NAME: librepresenter
#+begin_src nix
(with import <nixpkgs> {}; libsForQt5.callPackage /home/chris/dev/church-presenter {})
#+end_src
Firefox has it's own setup
@ -684,6 +696,9 @@ Notice how I am including all of my software here. It may be a big file, but hav
# Dev tools
<<dev-tools>>
<<lightlyshaders>>
<<librepresenter>>
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})
];
services.emacs = {
@ -1269,7 +1284,15 @@ Dalinar's config is of course server oriented.
};
};
systemd.servics = {
mail-cert-renew = {
enable = true;
serviceConfig = {
Type = "oneshot";
ExecStart = with pkgs.docker "sh -c /home/chris/bin/mail-cert-renew"
};
};
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];