diff --git a/devices/asus/configuration.nix b/devices/asus/configuration.nix index 88e7d41..66244d7 100644 --- a/devices/asus/configuration.nix +++ b/devices/asus/configuration.nix @@ -1,14 +1,16 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). - -{ config, lib, pkgs, ... }: - { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; + config, + lib, + pkgs, + ... +}: { + imports = [ + # Include the results of the hardware scan. + ./hardware-configuration.nix + ]; # Use the GRUB 2 boot loader. boot.loader.systemd-boot.enable = true; @@ -27,56 +29,23 @@ # Set your time zone. # time.timeZone = "Europe/Amsterdam"; - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Select internationalisation properties. - # i18n.defaultLocale = "en_US.UTF-8"; - # console = { - # font = "Lat2-Terminus16"; - # keyMap = "us"; - # useXkbConfig = true; # use xkb.options in tty. - # }; - - # Enable the X11 windowing system. - # services.xserver.enable = true; - - - - - # Configure keymap in X11 - # services.xserver.xkb.layout = "us"; - # services.xserver.xkb.options = "eurosign:e,caps:escape"; - - # Enable CUPS to print documents. - # services.printing.enable = true; - - # Enable sound. - # services.pulseaudio.enable = true; - # OR - # services.pipewire = { - # enable = true; - # pulse.enable = true; - # }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.libinput.enable = true; services.desktopManager.cosmic.enable = true; services.displayManager.cosmic-greeter.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. -users.users.polen = { - isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. - packages = with pkgs; [ - neovim - tree - htop - ]; -}; + nix.settings.experimental-features = ["nix-command" "flakes"]; - # programs.firefox.enable = true; + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.polen = { + isNormalUser = true; + extraGroups = ["wheel"]; # Enable ‘sudo’ for the user. + packages = with pkgs; [ + neovim + tree + htop + git + ranger + ]; + }; # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). @@ -132,6 +101,4 @@ users.users.polen = { # # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "25.05"; # Did you read the comment? - } -