Factor gwiad and sesame configuration into base mdule
This commit is contained in:
parent
5335a08eb5
commit
9b38a10457
4 changed files with 38 additions and 73 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, flake, pkgs, hostName, ... }:
|
||||
{ inputs, flake, pkgs, ... }:
|
||||
{
|
||||
imports = with flake.nixosModules; [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -9,23 +9,9 @@
|
|||
./syncthing.nix
|
||||
];
|
||||
|
||||
# Boot configuration
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 10;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Networking
|
||||
networking.hostName = hostName;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
# Console
|
||||
console = {
|
||||
keyMap = "fr";
|
||||
};
|
||||
|
||||
users.users.jhemono.uid = 1000;
|
||||
users.groups.jhemono.gid = 1000;
|
||||
|
||||
|
|
@ -43,17 +29,7 @@
|
|||
# System packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
android-tools
|
||||
bc
|
||||
git
|
||||
htop
|
||||
jq
|
||||
ncdu
|
||||
rclone
|
||||
tmux
|
||||
tree
|
||||
unzip
|
||||
vim
|
||||
zip
|
||||
];
|
||||
|
||||
virtualisation.docker.rootless = {
|
||||
|
|
@ -83,8 +59,6 @@
|
|||
orca
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "vim";
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue