Compare commits
3 commits
9eef068b8d
...
385d77975a
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | 385d77975a | ||
Evie Litherland-Smith | f35fe50280 | ||
Evie Litherland-Smith | 19abc43402 |
5
Makefile
5
Makefile
|
@ -1,6 +1,9 @@
|
|||
.PHONY: default build
|
||||
.PHONY: default build switch
|
||||
|
||||
default: build
|
||||
|
||||
build:
|
||||
nixos-rebuild build --flake . --show-trace
|
||||
|
||||
switch:
|
||||
sudo nixos-rebuild switch --flake . --show-trace
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
../services/caddy.nix
|
||||
../services/forgejo.nix
|
||||
|
@ -16,6 +16,8 @@
|
|||
};
|
||||
users.mutableUsers = false;
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||
dates = "02:00";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
|
|
|
@ -30,14 +30,7 @@
|
|||
'';
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system = {
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||
allowReboot = lib.mkDefault false;
|
||||
};
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
system.stateVersion = "23.05";
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1715542476,
|
||||
"narHash": "sha256-FF593AtlzQqa8JpzrXyRws4CeKbc5W86o8tHt4nRfIg=",
|
||||
"lastModified": 1716361217,
|
||||
"narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "44072e24566c5bcc0b7aa9178a0104f4cfffab19",
|
||||
"rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue