some updates especially to nixos

This commit is contained in:
Chris Cochrun 2022-09-15 16:28:11 -05:00
parent f1349e79f1
commit 08db8e3b56
7 changed files with 50 additions and 8 deletions

View file

@ -4,6 +4,7 @@
imports =
[
./hardware-configuration.nix
/etc/nixos/cachix.nix
];
nix = {
extraOptions = "experimental-features = nix-command flakes";
@ -62,6 +63,7 @@
};
};
boot.supportedFilesystems = [ "ntfs" ];
services.xserver = {
enable = true;
windowManager.awesome = {
@ -169,6 +171,7 @@
git
tmux
dutree
cachix
unzip
unrar
p7zip
@ -178,6 +181,7 @@
binutils
podman-compose
exa
# img2pdf
yt-dlp
bat
rsync
@ -295,6 +299,7 @@
element-desktop-wayland
scrcpy
python
python3
airshipper
# hyprland
@ -319,6 +324,7 @@
extra-cmake-modules
pkg-config
libsForQt5.wrapQtAppsHook
python310Packages.pyqt5
# LIBRARIES FOR DEV
qt5.full
qt5.qtbase

13
system/syl/cachix.nix Normal file
View file

@ -0,0 +1,13 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.settings.substituters = ["https://cache.nixos.org/"];
}

View file

@ -0,0 +1,11 @@
{
nix = {
settings.substituters = [
"https://nix-community.cachix.org"
];
settings.trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}

View file

@ -4,6 +4,7 @@
imports =
[
./hardware-configuration.nix
/etc/nixos/cachix.nix
];
nix = {
extraOptions = "experimental-features = nix-command flakes";
@ -60,6 +61,7 @@
];
};
boot.supportedFilesystems = [ "ntfs" ];
services.xserver = {
enable = true;
windowManager.awesome = {
@ -182,6 +184,7 @@
git
tmux
dutree
cachix
unzip
unrar
p7zip
@ -191,6 +194,7 @@
binutils
podman-compose
exa
# img2pdf
yt-dlp
bat
rsync
@ -308,6 +312,7 @@
element-desktop-wayland
scrcpy
python
python3
airshipper
# hyprland
@ -334,6 +339,7 @@
extra-cmake-modules
pkg-config
libsForQt5.wrapQtAppsHook
python310Packages.pyqt5
# LIBRARIES FOR DEV
qt5.full
qt5.qtbase
@ -385,7 +391,7 @@
];
services.emacs = {
enable = true;
enable = false;
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
};