fruitbasket/hosts/birne/configuration.nix

42 lines
911 B
Nix
Raw Normal View History

2022-03-04 16:50:25 +01:00
# 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).
{ config, pkgs, ... }:
{
2022-09-06 17:16:31 +02:00
imports = [
# Include the results of the hardware scan.
2022-09-06 15:09:30 +02:00
./hardware-configuration.nix
];
2022-03-04 16:50:25 +01:00
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2022-03-05 14:59:47 +01:00
networking = {
hostName = "birne";
interfaces.wlp4s0.useDHCP = true;
2022-03-05 15:02:17 +01:00
interfaces.enp1s0.useDHCP = true;
2022-03-05 14:59:47 +01:00
wireless = {
enable = true;
interfaces = [ "wlp4s0" ];
};
};
2022-03-04 16:50:25 +01:00
nixpkgs.config.allowUnfree = true;
2022-09-06 17:16:31 +02:00
users.users.printer = {
isNormalUser = true;
password = "printer";
extraGroups = [ ];
};
2022-03-04 16:50:25 +01:00
environment.systemPackages = with pkgs; [
2022-03-05 13:56:48 +01:00
firefox
2022-03-04 16:50:25 +01:00
];
2022-04-19 16:39:09 +02:00
system.stateVersion = "21.05";
2022-03-04 16:50:25 +01:00
}