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

@ -23,13 +23,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "LightlyShaders"; pname = "LightlyShaders";
version = "0.1.5"; version = "2.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "a-parhom"; owner = "a-parhom";
repo = "LightlyShaders"; repo = "LightlyShaders";
rev = "04432c4a704d561541ae2be1f9907bb7bb783a2b"; rev = "v2.0";
sha256 = "c/zbYmOXhl0xX+Rjw5eU48jQqA+OAxsh/pvWXo5bakA="; sha256 = "YG2sHvPSl3ckrKgZYp0w+RR+G/iE+weHLh1ZM9nDjRI=";
}; };
# dontWrapQtApps = true; # dontWrapQtApps = true;

View file

@ -1 +1 @@
/nix/store/1fammczms41261rbb66pmrafpfqlsdjr-LightlyShaders-0.0.4 /nix/store/9imgsipfb5zky21hhg1b840dpmqq5sww-LightlyShaders-2.0.0

View file

@ -46,9 +46,12 @@ Both include the home-manager module. Primarily I chose that route so that I cou
nix-bitcoin = { nix-bitcoin = {
url = "github:fort-nix/nix-bitcoin/release"; 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 let
system = "x86_64-linux"; system = "x86_64-linux";
username = "chris"; 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 ./system/syl/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
hyprland.nixosModules.default hyprland.nixosModules.default
# libre-presenter.defaultPackage
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
@ -350,6 +354,7 @@ audacity
krename krename
kwallet-pam kwallet-pam
plasma5Packages.kwallet plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice libimobiledevice
sddm-kcm sddm-kcm
ydotool ydotool
@ -364,7 +369,7 @@ mpv
nerdfonts nerdfonts
latte-dock latte-dock
alacritty alacritty
libsForQt5.bismuth # libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
waybar waybar
@ -378,6 +383,7 @@ vulkan-tools
wayland-utils wayland-utils
# mkchromecast # mkchromecast
plocate plocate
# librepresenter.libre-presenter
papirus-icon-theme papirus-icon-theme
phinger-cursors phinger-cursors
plasma-hud plasma-hud
@ -474,7 +480,13 @@ fennel
Let's create our own custom LightlyShaders package. This is in it's own file for now. Let's create our own custom LightlyShaders package. This is in it's own file for now.
#+NAME: lightlyshaders #+NAME: lightlyshaders
#+begin_src nix #+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 #+end_src
Firefox has it's own setup 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
<<dev-tools>> <<dev-tools>>
<<lightlyshaders>> <<lightlyshaders>>
<<librepresenter>>
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})
]; ];
services.emacs = { 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. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];

View file

@ -51,6 +51,21 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"locked": {
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -94,10 +109,29 @@
"type": "github" "type": "github"
} }
}, },
"nix-bitcoin": { "libre-presenter": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1666382313,
"narHash": "sha256-UsHwkyT1tbrcmqVWcgusKpK8ovcQoZ+vKJSMHdR4KGQ=",
"owner": "chriscochrun",
"repo": "church-presenter",
"rev": "8da2a39a168ceb237dad3b2b74aed818c742076d",
"type": "gitlab"
},
"original": {
"owner": "chriscochrun",
"repo": "church-presenter",
"type": "gitlab"
}
},
"nix-bitcoin": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_2",
"nixpkgsUnstable": "nixpkgsUnstable" "nixpkgsUnstable": "nixpkgsUnstable"
}, },
"locked": { "locked": {
@ -117,16 +151,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1663760840, "lastModified": 1666282307,
"narHash": "sha256-ym5Iycs5H4cOaLfE2/vC0tsLp8XuBJQIHGV8/uXSy8M=", "narHash": "sha256-O1T2HGLARLKDLfdOmjPBfn3eC4cSIaQD71wUN4I/6/s=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9bdbbaa634aa666eb6a27096bdcb991c59181244", "rev": "b7d8c687782c8f9a1d425a7e486eb989654f6468",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-22.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -164,6 +198,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1663760840,
"narHash": "sha256-ym5Iycs5H4cOaLfE2/vC0tsLp8XuBJQIHGV8/uXSy8M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9bdbbaa634aa666eb6a27096bdcb991c59181244",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1666282307, "lastModified": 1666282307,
"narHash": "sha256-O1T2HGLARLKDLfdOmjPBfn3eC4cSIaQD71wUN4I/6/s=", "narHash": "sha256-O1T2HGLARLKDLfdOmjPBfn3eC4cSIaQD71wUN4I/6/s=",
@ -184,8 +234,9 @@
"emacs": "emacs", "emacs": "emacs",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"libre-presenter": "libre-presenter",
"nix-bitcoin": "nix-bitcoin", "nix-bitcoin": "nix-bitcoin",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
} }
}, },

View file

@ -19,9 +19,12 @@
nix-bitcoin = { nix-bitcoin = {
url = "github:fort-nix/nix-bitcoin/release"; 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 let
system = "x86_64-linux"; system = "x86_64-linux";
username = "chris"; username = "chris";
@ -71,6 +74,7 @@
./system/syl/configuration.nix ./system/syl/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
hyprland.nixosModules.default hyprland.nixosModules.default
# libre-presenter.defaultPackage
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;

View file

@ -233,7 +233,15 @@
}; };
}; };
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. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];

View file

@ -240,6 +240,7 @@ imports =
krename krename
kwallet-pam kwallet-pam
plasma5Packages.kwallet plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice libimobiledevice
sddm-kcm sddm-kcm
ydotool ydotool
@ -254,7 +255,7 @@ imports =
nerdfonts nerdfonts
latte-dock latte-dock
alacritty alacritty
libsForQt5.bismuth # libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
waybar waybar
@ -268,6 +269,7 @@ imports =
wayland-utils wayland-utils
# mkchromecast # mkchromecast
plocate plocate
# librepresenter.libre-presenter
papirus-icon-theme papirus-icon-theme
phinger-cursors phinger-cursors
plasma-hud plasma-hud
@ -361,7 +363,7 @@ imports =
# plasma5Packages.kirigami2 # plasma5Packages.kirigami2
sqlite sqlite
fennel fennel
(libsForQt5.callPackage ../../LightlyShaders {}) (with import <nixpkgs> {}; libsForQt5.callPackage ../../LightlyShaders {})
]; ];
nixpkgs.overlays = [ nixpkgs.overlays = [

View file

@ -260,6 +260,7 @@
krename krename
kwallet-pam kwallet-pam
plasma5Packages.kwallet plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice libimobiledevice
sddm-kcm sddm-kcm
ydotool ydotool
@ -274,7 +275,7 @@
nerdfonts nerdfonts
latte-dock latte-dock
alacritty alacritty
libsForQt5.bismuth # libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
waybar waybar
@ -288,6 +289,7 @@
wayland-utils wayland-utils
# mkchromecast # mkchromecast
plocate plocate
# librepresenter.libre-presenter
papirus-icon-theme papirus-icon-theme
phinger-cursors phinger-cursors
plasma-hud plasma-hud
@ -383,7 +385,10 @@
# plasma5Packages.kirigami2 # plasma5Packages.kirigami2
sqlite sqlite
fennel fennel
(libsForQt5.callPackage ../../LightlyShaders {}) (with import <nixpkgs> {}; libsForQt5.callPackage ../../LightlyShaders {})
(with import <nixpkgs> {}; libsForQt5.callPackage /home/chris/dev/church-presenter {})
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})
]; ];
services.emacs = { services.emacs = {