First working version of NixOS intall
This commit is contained in:
commit
5ab67429b2
47 changed files with 1801 additions and 0 deletions
72
hosts/mrmeeseeks/configuration.nix
Normal file
72
hosts/mrmeeseeks/configuration.nix
Normal file
|
@ -0,0 +1,72 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../common/locales.nix
|
||||
../../common/flakes.nix
|
||||
../../common/user.nix
|
||||
../../modules/nixos/pipewire.nix
|
||||
../../modules/nixos/steam.nix
|
||||
../../modules/nixos/xdg-portal.nix
|
||||
../../modules/nixos/doas.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
#CPU
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
# GPU
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
# Bluetooth
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.xpadneo.enable = true;
|
||||
networking.hostName = "mrmeeseeks";
|
||||
|
||||
console = {
|
||||
earlySetup = true;
|
||||
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
|
||||
packages = with pkgs; [terminus_font];
|
||||
# keyMap = "us";
|
||||
useXkbConfig = true; # use xkbOptions in tty.
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
security.pam.services.swaylock = {};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
zsh
|
||||
lvm2_dmeventd
|
||||
];
|
||||
|
||||
services.lvm.enable = true;
|
||||
services.lvm.dmeventd.enable = true;
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.ephase = {
|
||||
home.stateVersion = "23.05";
|
||||
programs.home-manager.enable = true;
|
||||
imports = [
|
||||
../../modules/home/desktop
|
||||
../../modules/home/cli
|
||||
../../modules/home/firefox
|
||||
../../modules/home/foot.nix
|
||||
../../modules/home/lutris.nix
|
||||
../../modules/home/zathura.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue