Basic baldur configuration

This commit is contained in:
Filippo Berto 2022-12-18 12:46:47 +01:00
parent 11d1a62c8f
commit 380af1410a
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
7 changed files with 52 additions and 73 deletions

View file

@ -1,5 +1,8 @@
{ pkgs, lib, ... }:
with lib; {
boot.loader.systemd-boot.enable = true;
# boot = {
# # binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ];
# # kernelPackages = pkgs.linuxPackages_5_18;
@ -268,5 +271,5 @@ with lib; {
# ];
# };
system.stateVersion = "22.05";
system.stateVersion = "22.11";
}

View file

@ -0,0 +1,22 @@
{ modulesPath, ... }:
{
imports =
[
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/7fa05ac4-8e10-4994-bb7d-4be88e4a6696";
fsType = "ext4";
};
swapDevices = [ ];
}

View file

@ -1,69 +1,23 @@
{ pkgs, ... }: {
nixpkgs.overlays = [
(_: _: {
devEnvironment = (import ./environment.nix) {
# enableCpp = true;
enableData = true;
# enableGo = true;
# enableHtml = true;
# enableJavascript = true;
# enableJava = true;
# enableLatex = true;
enableNix = true;
# enableOffice = true;
# enablePython = true;
# enableRust = true;
enableShell = true;
# enableSpelling = true;
};
})
];
home = {
language.base = "it_IT.UTF-8";
keyboard = {
layout = "it";
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" ];
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" "grp:menu_toggle" ];
};
packages = with pkgs; [
file
htop
neofetch
nix-prefetch-scripts
ripgrep
wget
xclip
# yq
];
};
imports = [
../hm_modules/__basic.nix
../hm_modules/configurations.nix
# ../hm_modules/fonts.nix
../hm_modules/bash.nix
../hm_modules/bat.nix
# ../hm_modules/bottom.nix
# ../hm_modules/broot.nix
../hm_modules/dircolors.nix
../hm_modules/direnv.nix
# ../hm_modules/git.nix
# ../hm_modules/gpg.nix
../hm_modules/helix.nix
../hm_modules/info.nix
# ../hm_modules/jq.nix
# ../hm_modules/kakoune.nix
../hm_modules/keychain.nix
# ../hm_modules/kitty.nix
../hm_modules/lf.nix
../hm_modules/man.nix
# ../hm_modules/lf.nix
# ../hm_modules/megasync.nix
# ../hm_modules/noti.nix
../hm_modules/ssh.nix
../hm_modules/starship.nix
../hm_modules/tmux.nix
../hm_modules/zoxide.nix
../hm_modules/zsh.nix
../hm_modules/shell_aliases.nix
];
home.stateVersion = "22.05";