From 0039908addac751c165395ebc3ead5220becd68a Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sat, 8 Jul 2023 14:48:02 +0200 Subject: nixos and vim --- nix/configuration.nix | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) (limited to 'nix') 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 = [ { -- cgit v1.2.3