Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/nixos
This commit is contained in:
commit
3b5cf11ce7
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
iosevkaCustom,
|
||||
|
@ -32,7 +33,7 @@
|
|||
system = {
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+https://git.xenia.me.uk/pixelifytica/nixos.git?ref=main";
|
||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||
allowReboot = lib.mkDefault false;
|
||||
};
|
||||
stateVersion = "23.05";
|
||||
|
|
28
flake.nix
28
flake.nix
|
@ -40,7 +40,29 @@
|
|||
networking = {inherit hostName;};
|
||||
nix = {
|
||||
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;
|
||||
programs.${loginShell}.enable = true;
|
||||
|
@ -87,11 +109,11 @@
|
|||
};
|
||||
};
|
||||
## Work
|
||||
Ronin = nixpkgs.lib.nixosSystem rec {
|
||||
Tone = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = defaultSpecialArgs {inherit system;};
|
||||
modules = defaultModules {
|
||||
hostName = "Ronin";
|
||||
hostName = "Tone";
|
||||
primaryUser = "elitherl";
|
||||
loginShell = "zsh";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue