Add the x220 host
I don't have the time to split this commit
This commit is contained in:
parent
c0e985d51c
commit
d8ce89bd77
10 changed files with 539 additions and 217 deletions
75
hosts/x220/default.nix
Normal file
75
hosts/x220/default.nix
Normal file
|
@ -0,0 +1,75 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./persist.nix
|
||||
../../home/default.nix
|
||||
|
||||
../../modules/desktop/environments/river.nix
|
||||
../../modules/system/basic.nix
|
||||
../../modules/system/security.nix
|
||||
../../modules/desktop/apps/communication.nix
|
||||
../../modules/desktop/apps/multimedia.nix
|
||||
../../modules/system/development.nix
|
||||
../../modules/packages/firefox.nix
|
||||
../../modules/packages/zsh.nix
|
||||
../../modules/packages/fastfetch.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
gfxmodeEfi = "1366x768";
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
supportedFilesystems = [ "btrfs" ];
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "x220";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
users.users.hu.extraGroups = [ "networkmanager" ];
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "de";
|
||||
# useXkbConfig = true;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs.mtr.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
services.tlp.enable = true;
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue