more cleanup. added cups module

This commit is contained in:
fleaz 2022-06-05 02:16:30 +02:00
parent 82f3a79787
commit 25f9bb20fe
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
5 changed files with 11 additions and 139 deletions

View file

@ -1,7 +1,3 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }:
{
imports = [
@ -16,9 +12,6 @@
time.hardwareClockInLocalTime = true; #Be compatible with Windows Dualboot
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
networking.hostName = "cray"; # Define your hostname.
networking.interfaces.enp4s0.useDHCP = true;
@ -28,16 +21,6 @@
services.printing.enable = true;
services.printing.drivers = with pkgs; [ splix ];
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [ vim wget curl git ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.11"; # Did you read the comment?
}