mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Install flox on a NixOS system too
This also adds the recommended extra nix settings to darwin
This commit is contained in:
parent
e449b45e2b
commit
bd78fa0a1e
4 changed files with 15 additions and 2 deletions
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
# creates a nixos system config
|
||||
nixosHostConfig = system: hostname: username: nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs username hostname;
|
||||
specialArgs = { inherit inputs username hostname flox-flake;
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, username, ... }: {
|
||||
{ config, flox-flake, pkgs, username, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../../system/common/linux/flatpaks.nix
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
# host specific apps
|
||||
boinc
|
||||
brightnessctl
|
||||
flox-flake.packages.${pkgs.system}.default
|
||||
gnome.gnome-tweaks
|
||||
gnome.nautilus
|
||||
gnomeExtensions.dash-to-panel
|
||||
|
|
|
|||
|
|
@ -92,6 +92,12 @@
|
|||
"nix-command"
|
||||
"repl-flake"
|
||||
];
|
||||
extra-trusted-public-keys = [
|
||||
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
|
||||
];
|
||||
extra-trusted-substituters = [
|
||||
"https://cache.flox.dev"
|
||||
];
|
||||
trusted-users = [ "@admin" "${username}" ];
|
||||
};
|
||||
extraOptions = ''
|
||||
|
|
|
|||
|
|
@ -41,6 +41,12 @@
|
|||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
extra-trusted-public-keys = [
|
||||
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
|
||||
];
|
||||
extra-trusted-substituters = [
|
||||
"https://cache.flox.dev"
|
||||
];
|
||||
trusted-users = [ "${username}" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue