vixen: Use gnome.nix

This commit is contained in:
Sridhar Ratnakumar 2024-10-22 16:07:50 -04:00
parent b3928c9b5d
commit 4955f78b45
4 changed files with 4 additions and 26 deletions

View file

@ -17,9 +17,6 @@
# Enable networking
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "America/New_York";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@ -35,13 +32,6 @@
LC_TIME = "en_US.UTF-8";
};
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
@ -64,26 +54,12 @@
# 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.
users.users.srid = {
isNormalUser = true;
description = "Sridhar Ratnakumar";
extraGroups = [ "networkmanager" "wheel" ];
};
# Install firefox.
programs.firefox.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
brave
gnome-tweaks
vscode
];

View file

@ -10,6 +10,7 @@ in
self.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen4
./configuration.nix
(self + /modules/nixos/linux/gui/gnome.nix)
];
services.openssh.enable = true;

View file

@ -6,6 +6,7 @@
};
environment.systemPackages = with pkgs; [
gnome.gnome-tweaks
# This is necessary to set CAPS to CTRL
gnome-tweaks
];
}

View file

@ -14,7 +14,7 @@
openssh.authorizedKeys.keys = myKeys;
} // lib.optionalAttrs pkgs.stdenv.isLinux {
isNormalUser = true;
extraGroups = [ "wheel" ];
extraGroups = [ "networkmanager" "wheel" ];
};
};