Add gnome extensions. Remove hardware-configuration

This commit is contained in:
Leo Alho 2024-09-08 21:16:22 +03:00
parent 69f36874e1
commit 61de1b5397
2 changed files with 4 additions and 32 deletions

View file

@ -7,7 +7,7 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
# Bootloader. # Bootloader.
@ -29,7 +29,7 @@
time.timeZone = "Europe/Helsinki"; time.timeZone = "Europe/Helsinki";
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "fi_FI.UTF-8"; i18n.defaultLocale = "en_UK.UTF-8";
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {
LC_ADDRESS = "fi_FI.UTF-8"; LC_ADDRESS = "fi_FI.UTF-8";
@ -107,6 +107,8 @@
gh gh
git git
neovim neovim
gnome-extensions-manager
gnomeExtensions.dash-to-dock
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View file

@ -1,30 +0,0 @@
# 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 = [ ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/49708338-c8f7-484d-9d0a-4aa41d44822e";
fsType = "ext4";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
virtualisation.virtualbox.guest.enable = true;
}