Add: Penduick on Thinkpad T480
This commit is contained in:
parent
e2177beef1
commit
cfe1fbf185
5 changed files with 183 additions and 1 deletions
54
hosts/penduick/configuration.nix
Normal file
54
hosts/penduick/configuration.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
globals = import ../../config/globals.nix;
|
||||
in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/desktop/xorg-bspwm.nix
|
||||
../../modules/common/nix.nix
|
||||
../../modules/common/base.nix
|
||||
../../modules/common/fonts.nix
|
||||
../../modules/common/networking.nix
|
||||
../../modules/common/plymouth.nix
|
||||
../../modules/common/audio.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.luks.devices.cryptroot.device = "/dev/nvme0n1p3";
|
||||
|
||||
networking.hostName = "penduick";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
console.keyMap = "fr";
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
|
||||
users.users.dunoz = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
initialPassword = "temp";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true ;
|
||||
users.dunoz = import ../../hm/users/dunoz-desktop.nix ;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim git btop htop wget curl
|
||||
neovim
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
# Optionnel mais utile pour SSH au démarrage
|
||||
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue