mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
minimum initial working flakes
This commit is contained in:
@ -6,10 +6,11 @@
|
||||
|
||||
{
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
../modules/system/timezone.nix
|
||||
../modules/system/doas.nix
|
||||
../modules/gaming
|
||||
../modules/services/keybase.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
@ -81,7 +82,8 @@
|
||||
};
|
||||
|
||||
# Required for setting GTK theme (for preferred-color-scheme in browser)
|
||||
services.dbus.packages = with pkgs; [ pkgs.dconf ];
|
||||
services.dbus.packages = with pkgs; [ dconf ];
|
||||
programs.dconf.enable = true;
|
||||
|
||||
# Mouse config
|
||||
services.ratbagd.enable = true;
|
||||
@ -122,10 +124,10 @@
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
fish
|
||||
git
|
||||
vim
|
||||
wget
|
||||
curl
|
||||
home-manager
|
||||
xclip # Clipboard
|
||||
pamixer # Audio control
|
||||
dmenu # Launcher
|
||||
|
30
nixos/hardware-configuration.nix
Normal file
30
nixos/hardware-configuration.nix
Normal file
@ -0,0 +1,30 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/f0313f58-971a-46e3-9191-909fe5eb7f7e";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/FB26-799C";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
@ -59,7 +59,6 @@ in {
|
||||
glow
|
||||
|
||||
# Encryption
|
||||
keybase-gui
|
||||
gnupg
|
||||
pass
|
||||
];
|
||||
@ -315,6 +314,7 @@ in {
|
||||
extraConfig = {
|
||||
core = { editor = "nvim"; };
|
||||
pager = { branch = "false"; };
|
||||
safe = { directory = "${dotfiles}"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user