Compare commits

..

No commits in common. "385d77975a0869b828fead35cf21979b9fc263c2" and "9eef068b8d17f188e80f4af64db9e81386267daa" have entirely different histories.

4 changed files with 13 additions and 11 deletions

View file

@ -1,9 +1,6 @@
.PHONY: default build switch
.PHONY: default build
default: build
build:
nixos-rebuild build --flake . --show-trace
switch:
sudo nixos-rebuild switch --flake . --show-trace

View file

@ -1,4 +1,4 @@
{config, ...}: {
{...}: {
imports = [
../services/caddy.nix
../services/forgejo.nix
@ -16,8 +16,6 @@
};
users.mutableUsers = false;
system.autoUpgrade = {
enable = true;
flake = "git+${config.nix.registry.my-nixos.to.url}";
dates = "02:00";
allowReboot = true;
rebootWindow = {

View file

@ -30,7 +30,14 @@
'';
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.05";
system = {
autoUpgrade = {
enable = true;
flake = "git+${config.nix.registry.my-nixos.to.url}";
allowReboot = lib.mkDefault false;
};
stateVersion = "23.05";
};
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;

View file

@ -36,11 +36,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1716361217,
"narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=",
"lastModified": 1715542476,
"narHash": "sha256-FF593AtlzQqa8JpzrXyRws4CeKbc5W86o8tHt4nRfIg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f",
"rev": "44072e24566c5bcc0b7aa9178a0104f4cfffab19",
"type": "github"
},
"original": {