This commit is contained in:
k
2024-09-25 16:39:04 -04:00
parent 235b382535
commit 7ce35c7655
11 changed files with 109 additions and 137 deletions

View File

@@ -5,14 +5,12 @@
{ config, pkgs, inputs, nixos-hardware, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
nix.settings.experimental-features = ["nix-command" "flakes"];
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
networking.networkmanager.enable = true;
# Set your time zone.
@@ -33,19 +31,18 @@
LC_TIME = "en_US.UTF-8";
};
# Enable the X11 windowing system.
#services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.desktopManager.phosh = {
enable = true;
group = "";
user = "k";
phocConfig.xwayland = "immediate";
};
# Enable CUPS to print documents.
enable = true;
group = "";
user = "k";
phocConfig.xwayland = "immediate";
};
# Enable CUPS to print documents.
services.printing.enable = true;
services.auto-cpufreq.enable = true;
services.thermald.enable = true;
@@ -63,38 +60,33 @@
pulse.enable = true;
jack.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
programs.zsh.enable = true;
programs.zsh.enable = true;
users.users.k = {
isNormalUser = true;
description = "k";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [zsh];
packages = with pkgs; [ zsh ];
shell = pkgs.zsh;
};
home-manager = {
users = {
"k" = import ./home.nix;
};
};
home-manager = { users = { "k" = import ./home.nix; }; };
system.autoUpgrade.enable = true;
nix.gc.automatic = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
intel-vaapi-driver
intel-compute-runtime
intel-media-driver
microcodeIntel
gnome-console
neovim
intel-vaapi-driver
intel-compute-runtime
intel-media-driver
microcodeIntel
gnome-console
neovim
];
boot.kernelModules = [ "soc_button_array" ];