Compare commits
13 commits
main
...
beta-25.11
| Author | SHA1 | Date | |
|---|---|---|---|
| cd028aaf03 | |||
| fc43f9b5ec | |||
| 410a4811db | |||
| af8f630205 | |||
| ab2677dca5 | |||
| a11efa04ec | |||
| ae80dfcb92 | |||
| 8a80f673c5 | |||
| fb1ce98514 | |||
| f7e37941b6 | |||
| e0c3b553e3 | |||
| b9cd66b3cd | |||
| 39a03e4b2a |
10 changed files with 51 additions and 131 deletions
|
|
@ -47,7 +47,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
logind.lidSwitch = "suspend";
|
logind.settings.Login.HandleLidSwitch = "suspend";
|
||||||
|
|
||||||
printing = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -71,7 +71,7 @@ in {
|
||||||
obs-studio
|
obs-studio
|
||||||
pavucontrol
|
pavucontrol
|
||||||
spotify
|
spotify
|
||||||
tdesktop
|
telegram-desktop
|
||||||
thunderbird
|
thunderbird
|
||||||
virt-manager
|
virt-manager
|
||||||
xcolor
|
xcolor
|
||||||
|
|
|
||||||
100
flake.lock
generated
100
flake.lock
generated
|
|
@ -81,24 +81,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -127,50 +109,27 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1758463745,
|
"lastModified": 1764536451,
|
||||||
"narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=",
|
"narHash": "sha256-BgtcUkBfItu9/yU14IgUaj4rYOanTOUZjUfBP20/ZB4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3",
|
"rev": "3fdd076e08049a9c7a83149b270440d9787d2df5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-25.05",
|
"ref": "release-25.11",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jujutsu": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1762395739,
|
|
||||||
"narHash": "sha256-YUrjP2tzABdy4eAV1hPmgYWU8ChcJ5B4IlmQUGm95ro=",
|
|
||||||
"owner": "jj-vcs",
|
|
||||||
"repo": "jj",
|
|
||||||
"rev": "aa2b76978c4a23cb01c61629a11b1254af3ad0d9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "jj-vcs",
|
|
||||||
"ref": "v0.35.0",
|
|
||||||
"repo": "jj",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762847253,
|
"lastModified": 1764440730,
|
||||||
"narHash": "sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR+ZdLX8IbrU=",
|
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9",
|
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -230,16 +189,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763622513,
|
"lastModified": 1764522689,
|
||||||
"narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=",
|
"narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b",
|
"rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -250,33 +209,11 @@
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"jujutsu": "jujutsu",
|
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nixpkgs-unstable-small": "nixpkgs-unstable-small"
|
"nixpkgs-unstable-small": "nixpkgs-unstable-small"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"jujutsu",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1755139244,
|
|
||||||
"narHash": "sha256-SN1BFA00m+siVAQiGLtTwjv9LV9TH5n8tQcSziV6Nv4=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "aeae248beb2a419e39d483dd9b7fec924aba8d4d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
@ -306,21 +243,6 @@
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
13
flake.nix
13
flake.nix
|
|
@ -5,7 +5,7 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nixpkgs";
|
repo = "nixpkgs";
|
||||||
ref = "nixos-25.05";
|
ref = "nixos-25.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs-unstable-small = {
|
nixpkgs-unstable-small = {
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = "home-manager";
|
repo = "home-manager";
|
||||||
ref = "release-25.05";
|
ref = "release-25.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -49,14 +49,6 @@
|
||||||
repo = "disko";
|
repo = "disko";
|
||||||
ref = "master";
|
ref = "master";
|
||||||
};
|
};
|
||||||
|
|
||||||
jujutsu = {
|
|
||||||
type = "github";
|
|
||||||
owner = "jj-vcs";
|
|
||||||
repo = "jj";
|
|
||||||
ref = "v0.35.0";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -99,7 +91,6 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
agenix.overlays.default
|
agenix.overlays.default
|
||||||
inputs.jujutsu.overlays.default
|
|
||||||
]
|
]
|
||||||
++ builtins.attrValues self.overlays;
|
++ builtins.attrValues self.overlays;
|
||||||
sharedModules =
|
sharedModules =
|
||||||
|
|
|
||||||
35
home/git.nix
35
home/git.nix
|
|
@ -17,19 +17,18 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
delta = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
syntax-theme = "Solarized (light)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
userEmail = "antoine@alarsyo.net";
|
settings = {
|
||||||
userName = "Antoine Martin";
|
user = {
|
||||||
|
name = "Antoine Martin";
|
||||||
extraConfig = {
|
email = "antoine@alarsyo.net";
|
||||||
|
};
|
||||||
|
alias = {
|
||||||
|
push-wip = "push -o ci.skip";
|
||||||
|
push-merge = "push -o merge_request.create -o merge_request.merge_when_pipeline_succeeds -o merge_request.remove_source_branch";
|
||||||
|
push-mr = "push -o merge_request.create -o merge_request.remove_source_branch";
|
||||||
|
};
|
||||||
commit = {verbose = true;};
|
commit = {verbose = true;};
|
||||||
core = {editor = "vim";};
|
core = {editor = "vim";};
|
||||||
init = {defaultBranch = "main";};
|
init = {defaultBranch = "main";};
|
||||||
|
|
@ -38,12 +37,6 @@ in {
|
||||||
maintenance.prefetch.enabled = false;
|
maintenance.prefetch.enabled = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
|
||||||
push-wip = "push -o ci.skip";
|
|
||||||
push-merge = "push -o merge_request.create -o merge_request.merge_when_pipeline_succeeds -o merge_request.remove_source_branch";
|
|
||||||
push-mr = "push -o merge_request.create -o merge_request.remove_source_branch";
|
|
||||||
};
|
|
||||||
|
|
||||||
includes = [
|
includes = [
|
||||||
{
|
{
|
||||||
condition = "gitdir:~/work/lrde/";
|
condition = "gitdir:~/work/lrde/";
|
||||||
|
|
@ -64,5 +57,13 @@ in {
|
||||||
"/.envrc"
|
"/.envrc"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.delta = {
|
||||||
|
enable = true;
|
||||||
|
enableGitIntegration = true;
|
||||||
|
options = {
|
||||||
|
syntax-theme = "Solarized (light)";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
|
|
||||||
matchBlocks = let
|
matchBlocks = let
|
||||||
addGPGAgentForwarding = hostConf:
|
addGPGAgentForwarding = hostConf:
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,13 @@ in {
|
||||||
devices = ["/dev/sda" "/dev/sdb"];
|
devices = ["/dev/sda" "/dev/sdb"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: I've setup the address to avoid a spurious failure of the `mdmonitor`
|
||||||
|
# systemd unit, but sending email is not actually setup on this server. Might
|
||||||
|
# need to setup Postfix or msmtp
|
||||||
|
boot.swraid.mdadmConf = ''
|
||||||
|
MAILADDR=antoine@alarsyo.net
|
||||||
|
'';
|
||||||
|
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = true;
|
||||||
|
|
||||||
networking.hostName = "hades"; # Define your hostname.
|
networking.hostName = "hades"; # Define your hostname.
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,6 @@
|
||||||
"paperless/admin-password" = {};
|
"paperless/admin-password" = {};
|
||||||
"paperless/secret-key" = {};
|
"paperless/secret-key" = {};
|
||||||
|
|
||||||
"pleroma/pleroma-config" = {
|
|
||||||
owner = "pleroma";
|
|
||||||
};
|
|
||||||
|
|
||||||
"restic-backup/hades-credentials" = {};
|
"restic-backup/hades-credentials" = {};
|
||||||
"restic-backup/hades-password" = {};
|
"restic-backup/hades-password" = {};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
names = ["Iosevka Fixed" "FontAwesome6Free"];
|
names = ["Iosevka Fixed" "FontAwesome7FreeSolid"];
|
||||||
size = 9.0;
|
size = 9.0;
|
||||||
};
|
};
|
||||||
bars = [];
|
bars = [];
|
||||||
|
|
@ -207,12 +207,12 @@ in {
|
||||||
# FIXME: belongs elsewhere
|
# FIXME: belongs elsewhere
|
||||||
services = {
|
services = {
|
||||||
logind = {
|
logind = {
|
||||||
lidSwitch = "suspend";
|
settings.Login = {
|
||||||
lidSwitchExternalPower = "ignore";
|
HandleLidSwitch = "suspend";
|
||||||
extraConfig = ''
|
HandleLidSwitchExternalPower = "ignore";
|
||||||
IdleAction=suspend
|
IdleAction = "suspend";
|
||||||
IdleActionSec=10min
|
IdleActionSec = "10min";
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ in {
|
||||||
|
|
||||||
hostName = "cloud.${domain}";
|
hostName = "cloud.${domain}";
|
||||||
https = true;
|
https = true;
|
||||||
package = pkgs.nextcloud31;
|
package = pkgs.nextcloud32;
|
||||||
|
|
||||||
maxUploadSize = "1G";
|
maxUploadSize = "1G";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit
|
inherit
|
||||||
|
|
@ -47,6 +48,7 @@ in {
|
||||||
services.transmission =
|
services.transmission =
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.transmission_4;
|
||||||
group = "media";
|
group = "media";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue