Compare commits
No commits in common. "632061ac6122e17c9ab349a345034d48ece4f624" and "9dc02e7aabc9e86565557785b591c6b033111a53" have entirely different histories.
632061ac61
...
9dc02e7aab
7 changed files with 62 additions and 54 deletions
16
flake.lock
generated
16
flake.lock
generated
|
|
@ -192,16 +192,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773122722,
|
"lastModified": 1736549401,
|
||||||
"narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
|
"narHash": "sha256-ibkQrMHxF/7TqAYcQE+tOnIsSEzXmMegzyBWza6uHKM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62dc67aa6a52b4364dd75994ec00b51fbf474e50",
|
"rev": "1dab772dd4a68a7bba5d9460685547ff8e17d899",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -244,11 +244,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773351562,
|
"lastModified": 1773136055,
|
||||||
"narHash": "sha256-H5flYFBFbyhMh0j+7aEbIBo2vyFmVIhJZNlKhRgOfBc=",
|
"narHash": "sha256-wvTn86J1kugxIBliYHW5+WQtm96+qt8dhJoSYE5pyHI=",
|
||||||
"rev": "398cfc9a93b3d1d56dd205839e30b5e7fe062fec",
|
"rev": "3a062c2ba8d4b390090f53f6c38ce2c583098625",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/398cfc9a93b3d1d56dd205839e30b5e7fe062fec.tar.gz"
|
"url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/3a062c2ba8d4b390090f53f6c38ce2c583098625.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
|
||||||
51
flake.nix
51
flake.nix
|
|
@ -23,13 +23,14 @@
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
pkgs-unstable = inputs.unstable.legacyPackages.${system};
|
pkgs-unstable = inputs.unstable.legacyPackages.${system};
|
||||||
nixgl = inputs.nixgl.packages.${system};
|
nixgl = inputs.nixgl.packages.${system};
|
||||||
sshKeys = (import ./sshKeys.nix);
|
osConfig = name: nixpkgs.lib.nixosSystem {
|
||||||
osConfig = modules: nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
inherit modules;
|
modules = [
|
||||||
|
./os/${name}/configuration.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
homeConfig = modules: inputs.home-manager.lib.homeManagerConfiguration {
|
homeConfig = modules: inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
@ -91,46 +92,10 @@
|
||||||
./home/moon.nix
|
./home/moon.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixosConfigurations.basado = osConfig [
|
nixosConfigurations.basado = osConfig "basado";
|
||||||
./os/basado/configuration.nix
|
nixosConfigurations.moon = osConfig "moon";
|
||||||
./os/basado/hardware-configuration.nix
|
nixosConfigurations.hs = osConfig "hs";
|
||||||
|
nixosConfigurations.ks = osConfig "ks";
|
||||||
./os/common.nix
|
|
||||||
./os/common-graphics.nix
|
|
||||||
(import ./os/remote-disk-unlock.nix ["igb"] (with sshKeys; [moon]))
|
|
||||||
./os/builder.nix
|
|
||||||
./os/kdeconnect-ports.nix
|
|
||||||
(import ./os/swapfile.nix 64)
|
|
||||||
./os/ccache.nix
|
|
||||||
];
|
|
||||||
nixosConfigurations.moon = osConfig [
|
|
||||||
./os/moon/configuration.nix
|
|
||||||
./os/moon/hardware-configuration.nix
|
|
||||||
|
|
||||||
./os/common.nix
|
|
||||||
./os/common-graphics.nix
|
|
||||||
./os/kdeconnect-ports.nix
|
|
||||||
];
|
|
||||||
nixosConfigurations.hs = osConfig [
|
|
||||||
./os/hs/configuration.nix
|
|
||||||
./os/hs/hardware-configuration.nix
|
|
||||||
./os/hs/syncthing.nix
|
|
||||||
./os/hs/disks.nix
|
|
||||||
./os/hs/backup.nix
|
|
||||||
|
|
||||||
./os/common.nix
|
|
||||||
./os/forgejo.nix
|
|
||||||
(import ./os/remote-disk-unlock.nix ["r8169"] (with sshKeys; [moon basado]))
|
|
||||||
./os/builder.nix
|
|
||||||
./os/ccache.nix
|
|
||||||
(import ./os/swapfile.nix 64)
|
|
||||||
];
|
|
||||||
nixosConfigurations.ks = osConfig [
|
|
||||||
./os/ks/configuration.nix
|
|
||||||
./os/ks/hardware-configuration.nix
|
|
||||||
./os/common.nix
|
|
||||||
./os/3proxy.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
build-all = pkgs.runCommand "build-all" {
|
build-all = pkgs.runCommand "build-all" {
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ in
|
||||||
nerd-fonts.caskaydia-cove
|
nerd-fonts.caskaydia-cove
|
||||||
cascadia-code
|
cascadia-code
|
||||||
inter
|
inter
|
||||||
symbola
|
joypixels
|
||||||
|
|
||||||
bluetuith
|
bluetuith
|
||||||
keepmenu
|
keepmenu
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,20 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
let sshKeys = with (import ../../sshKeys.nix); [
|
||||||
|
moon
|
||||||
|
];
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../common.nix
|
||||||
|
../common-graphics.nix
|
||||||
|
(import ../remote-disk-unlock.nix ["igb"] sshKeys)
|
||||||
|
../builder.nix
|
||||||
|
../kdeconnect-ports.nix
|
||||||
|
(import ../swapfile.nix 64)
|
||||||
|
../ccache.nix
|
||||||
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,28 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
sshKeys = import ../../sshKeys.nix;
|
sshKeys = with (import ../../sshKeys.nix); [
|
||||||
|
basado
|
||||||
|
moon
|
||||||
|
allegro
|
||||||
|
hs
|
||||||
|
];
|
||||||
domain = "antoinev.freeboxos.fr";
|
domain = "antoinev.freeboxos.fr";
|
||||||
utils = import ../utils.nix;
|
utils = import ../utils.nix;
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./syncthing.nix
|
||||||
|
./disks.nix
|
||||||
|
./backup.nix
|
||||||
|
../common.nix
|
||||||
|
../forgejo.nix
|
||||||
|
(import ../remote-disk-unlock.nix ["r8169"] sshKeys)
|
||||||
|
../builder.nix
|
||||||
|
../ccache.nix
|
||||||
|
(import ../swapfile.nix 64)
|
||||||
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
@ -31,7 +49,7 @@ in {
|
||||||
"wheel"
|
"wheel"
|
||||||
"jellyfin"
|
"jellyfin"
|
||||||
];
|
];
|
||||||
openssh.authorizedKeys.keys = (with sshKeys; [ basado moon allegro hs ]);
|
openssh.authorizedKeys.keys = sshKeys;
|
||||||
};
|
};
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@ let
|
||||||
sshKeys = (import ../../sshKeys.nix);
|
sshKeys = (import ../../sshKeys.nix);
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../common.nix
|
||||||
|
../3proxy.nix
|
||||||
inputs.simple-nixos-mailserver.nixosModule
|
inputs.simple-nixos-mailserver.nixosModule
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [ # Include the results of the hardware scan.
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../common.nix
|
||||||
|
../common-graphics.nix
|
||||||
|
../kdeconnect-ports.nix
|
||||||
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue