summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/configuration.nix42
1 files changed, 18 insertions, 24 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 2ee63d0..16efd4d 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -2,49 +2,45 @@
{
imports = [ ./hardware-configuration.nix ];
-
+ boot.loader.systemd-boot.enable = true;
networking.hostName = "nixos";
- boot.loader.grub.device = "/dev/sda";
- networking.interfaces.wlp3s0.useDHCP = true;
- boot.loader.grub.enable = true;
time.timeZone = "Europe/Berlin";
networking.networkmanager.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
users.users.tom = {
isNormalUser = true;
- extraGroups = [ "wheel" "networkmanager" "lxd"];
+ extraGroups = [ "wheel" "networkmanager"];
shell = pkgs.zsh;
};
+ hardware.pulseaudio.enable = true;
services.xserver.enable = true;
services.xserver.autorun = false;
services.xserver.displayManager.startx.enable = true;
services.xserver.libinput.enable = true;
- environment.variables.EDITOR = "nvim";
+ environment.variables.EDITOR = "vim";
environment.systemPackages = with pkgs; [
- neovim
- git
- htop
- ncmpcpp
- w3m
- firefox
- wget
- tmux
+ acpi
curl
dmenu
- pass
feh
- nixfmt
- neomutt
- acpi
- ranger
- ncdu
- mpc_cli
+ firefox
+ git
+ htop
lm_sensors
+ mpc_cli
+ ncdu
+ ncmpcpp
+ nixfmt
+ pass
pinentry-curses
+ ranger
+ tmux
+ vim
+ wget
];
programs.gnupg.agent = {
@@ -59,9 +55,7 @@
fonts.fonts = with pkgs; [ hermit ];
- system.stateVersion = "21.05";
-
- virtualisation.lxd.enable = true;
+ system.stateVersion = "23.05";
swapDevices = [
{