This commit is contained in:
2024-01-31 12:27:55 -06:00
parent 3d9a229539
commit 484d22e832
6 changed files with 1816 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, master, ... }:
{
imports =
@@ -12,7 +12,9 @@
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.initrd.systemd.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = ["quiet"];
boot.initrd.luks.devices."luks-db49c136-7de8-4ab6-8e05-754bab13925d".device = "/dev/disk/by-uuid/db49c136-7de8-4ab6-8e05-754bab13925d";
networking.hostName = "nixos"; # Define your hostname.
@@ -27,7 +29,7 @@
# Set your time zone.
time.timeZone = "America/Chicago";
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@@ -46,9 +48,15 @@
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable Plymouth
boot.plymouth = {
enable = true;
};
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.displayManager.sddm.wayland.enable = true;
programs.hyprland.enable = true;
# Configure keymap in X11
services.xserver = {
@@ -58,7 +66,6 @@
};
# Enable CUPS to print documents.
services.printing.enable = true;
@@ -88,7 +95,7 @@
description = "Joshua Elmasri";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
vivaldi
# thunderbird
];
};
@@ -96,11 +103,61 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Fonts
fonts.packages = with pkgs; [
fira-code
fira-code-symbols
roboto
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git
rustc
gnomeExtensions.tray-icons-reloaded
gnomeExtensions.open-bar
dunst
just
steamtinkerlaunch
cosmic-icons
cosmic-settings
cosmic-comp
playerctl
xdg-desktop-portal
cosmic-panel
wine
bottles
cava
cosmic-session
gnome.gnome-tweaks
cosmic-applets
cosmic-settings
cosmic-icons
cosmic-protocols
cosmic-design-demo
flatpak
rofi-wayland
xdg-desktop-portal-cosmic
cosmic-bg
cosmic-osd
polkit-kde-agent
cosmic-term
gradience
cosmic-edit
cosmic-randr
cosmic-files
cosmic-greeter
cosmic-launcher
cosmic-screenshot
cosmic-applibrary
cosmic-notifications
cosmic-settings-daemon
cosmic-workspaces-epoch
];
# Enable Steam