Add my nixos and home-manager configs back to registry
This commit is contained in:
parent
dd9d76ca70
commit
f0dbbfb86c
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
iosevkaCustom,
|
iosevkaCustom,
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
system = {
|
system = {
|
||||||
autoUpgrade = {
|
autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flake = "git+https://git.xenia.me.uk/pixelifytica/nixos.git?ref=main";
|
flake = "git+${config.nix.registry.nixos.to.url}";
|
||||||
allowReboot = lib.mkDefault false;
|
allowReboot = lib.mkDefault false;
|
||||||
};
|
};
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
|
|
24
flake.nix
24
flake.nix
|
@ -40,7 +40,29 @@
|
||||||
networking = {inherit hostName;};
|
networking = {inherit hostName;};
|
||||||
nix = {
|
nix = {
|
||||||
settings.trusted-users = [primaryUser];
|
settings.trusted-users = [primaryUser];
|
||||||
registry.nixpkgs.flake = nixpkgs;
|
registry = {
|
||||||
|
nixpkgs.flake = nixpkgs;
|
||||||
|
my-nixos = {
|
||||||
|
from = {
|
||||||
|
type = "indirect";
|
||||||
|
id = "my-nixos";
|
||||||
|
};
|
||||||
|
to = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://git.xenia.me.uk/pixelifytica/nixos.git?ref=main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
my-home-manager = {
|
||||||
|
from = {
|
||||||
|
type = "indirect";
|
||||||
|
id = "my-home-manager";
|
||||||
|
};
|
||||||
|
to = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://git.xenia.me.uk/pixelifytica/home-manager.git?ref=main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.greetd.settings.initial_session.user = primaryUser;
|
services.greetd.settings.initial_session.user = primaryUser;
|
||||||
programs.${loginShell}.enable = true;
|
programs.${loginShell}.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue