config-perso/machines/kat-probook/configuration.nix

98 lines
1.9 KiB
Nix
Raw Normal View History

2024-05-14 19:21:19 +02:00
{
config,
lib,
pkgs,
mods,
2024-06-17 16:13:54 +02:00
sources,
2024-05-14 19:21:19 +02:00
...
}:
2024-02-19 17:15:40 +01:00
{
2024-05-14 19:21:19 +02:00
imports = [
./hardware-configuration.nix
./secrets.nix
# ./router.nix
];
2024-02-19 17:15:40 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "bcachefs" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
2024-05-14 13:48:01 +02:00
networking.networkmanager.enable = true;
2024-02-19 17:15:40 +01:00
time.timeZone = "Europe/Paris";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "fr";
};
nixpkgs.config.allowUnfree = true;
2024-05-31 23:34:05 +02:00
2024-02-19 17:15:40 +01:00
hardware = {
pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
bluetooth = {
enable = true;
powerOnBoot = false;
};
};
environment.systemPackages = with pkgs; [
2024-06-17 16:13:54 +02:00
(pkgs.callPackage "${toString sources.agenix}/pkgs/agenix.nix" { })
2024-02-19 17:15:40 +01:00
wget
brightnessctl
nix-search-cli
git
btop
ranger
2024-03-11 13:24:22 +01:00
colmena
2024-03-13 11:11:16 +01:00
tree
2024-03-26 15:43:59 +01:00
lazygit
2024-03-28 10:44:37 +01:00
nix-output-monitor
2024-05-06 15:00:43 +02:00
ripgrep
2024-02-19 17:15:40 +01:00
];
2024-02-26 15:22:46 +01:00
fonts.packages = with pkgs; [
fira-code-nerdfont
font-awesome
];
2024-02-19 17:15:40 +01:00
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
services.syncthing = {
enable = true;
systemService = true;
dataDir = "/home/catvayor";
user = "catvayor";
group = "users";
openDefaultPorts = true;
settings = {
folders."essentials" = {
path = "~/essentials";
id = "vgpwu-fk3ct";
2024-05-14 19:21:19 +02:00
devices = [
"katest"
"katel"
];
2024-02-19 17:15:40 +01:00
};
devices.katest.id = "UPVXT7D-ZQF4E3J-4WKLLRV-2KF7323-7VOMEJJ-4PZVXW4-UQ2YABE-G7ID4AD";
devices.katel.id = "DYOKK7J-HZAF5S7-FYTHQF5-UD5GJZ2-4JMV5I5-STUM3HG-5YM2JPR-LATJNAZ";
};
};
2024-03-15 11:09:42 +01:00
services.netbird.enable = true;
2024-02-19 17:15:40 +01:00
2024-06-17 16:13:54 +02:00
programs.steam.enable = true;
2024-05-14 13:48:01 +02:00
# boot.kernelModules = [ "kvm-intel" "kvm-amd" ];
# programs.virt-manager.enable = true;
# virtualisation.libvirtd.enable = true;
2024-02-19 17:15:40 +01:00
2024-05-14 13:48:01 +02:00
system.stateVersion = "23.11";
2024-02-19 17:15:40 +01:00
}