Reduce number of channels used
This was a fix attempt before I discovered that the issue was that nixos-install uses the root user's channels. Doesn't hurt anyways.
This commit is contained in:
parent
bae9c4c524
commit
7e49ed2e19
|
@ -3,7 +3,6 @@
|
||||||
# TODO Surely there's more elegant?
|
# TODO Surely there's more elegant?
|
||||||
|
|
||||||
nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs
|
nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs
|
||||||
|
# Below probably only needed on non-NixOS
|
||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
||||||
# First commit before 23.05 release date:
|
|
||||||
nix-channel --add https://github.com/NixOS/nixos-hardware/archive/468a7a108108908c7a35d6549f1e1f0236a9448a.tar.gz nixos-hardware
|
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixos-hardware/dell/g3/3779>
|
"${builtins.fetchTarball "https://github.com/NixOS/nixos-hardware/archive/468a7a108108908c7a35d6549f1e1f0236a9448a.tar.gz"}/dell/g3/3779"
|
||||||
./os/loader.nix
|
./os/loader.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<home-manager/nixos>
|
"${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz"}/nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.geoffrey = {
|
users.users.geoffrey = {
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
./common.nix
|
./common.nix
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
./wireless.nix
|
./wireless.nix
|
||||||
|
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22.tar.gz"}/module.nix"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixos-hardware/pine64/pinebook-pro>
|
# First commit before 23.05 release date:
|
||||||
|
"${builtins.fetchTarball "https://github.com/NixOS/nixos-hardware/archive/468a7a108108908c7a35d6549f1e1f0236a9448a.tar.gz"}/pine64/pinebook-pro"
|
||||||
./os/loader.nix
|
./os/loader.nix
|
||||||
];
|
];
|
||||||
# nixos-hardware use latest kernel by default. This obviously runs quickly out of sync with zfs packages.
|
# nixos-hardware use latest kernel by default. This obviously runs quickly out of sync with zfs packages.
|
||||||
|
|
Loading…
Reference in a new issue