Compare commits

..

No commits in common. "8ed77d3964101a715b3b4746d88e0e7d2e1c23df" and "e61f7d59dd07cf965211467e74824a990f2e6e0a" have entirely different histories.

2 changed files with 14 additions and 36 deletions

View file

@ -6,10 +6,8 @@
{ {
imports = imports =
[ [ # Include the results of the hardware scan.
<nixos-hardware/framework/13-inch/7040-amd>
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos>
]; ];
# https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14 # https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14
@ -52,10 +50,14 @@
LC_TIME = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
}; };
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true; services.xserver.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.xserver.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true; services.xserver.desktopManager.plasma6.enable = true;
#services.xserver.desktopManager.plasma5.enable = false;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb = { services.xserver.xkb = {
@ -63,17 +65,9 @@
variant = ""; variant = "";
}; };
services.fwupd.enable = true;
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
services.hardware.bolt.enable = true;
virtualisation.docker.enable = true;
hardware.bluetooth.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -95,31 +89,16 @@
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.chandler.isNormalUser = true; users.users.chandler = {
users.users.chandler.description = "Chandler Swift"; isNormalUser = true;
users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" ]; description = "Chandler Swift";
home-manager.users.chandler = { pkgs, ... }: { extraGroups = [ "networkmanager" "wheel" ];
home.packages = with pkgs; [ packages = with pkgs; [
firefox firefox
kate kate
git git
prismlauncher
libreoffice-qt
# thunderbird # thunderbird
]; ];
programs.bash.enable = true;
programs.emacs = {
enable = true;
extraPackages = epkgs: [
epkgs.nix-mode
epkgs.magit
epkgs.rust-mode
];
};
home.stateVersion = "23.11";
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
@ -150,7 +129,7 @@
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
networking.firewall.enable = false; # networking.firewall.enable = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -11,7 +11,6 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =