Browse Source

initial pulsebert config

container/radius
Stefan Majewsky 1 year ago
parent
commit
1d88051b72
1 changed files with 93 additions and 0 deletions
  1. 93
    0
      nix/pulsebert/configuration.nix

+ 93
- 0
nix/pulsebert/configuration.nix View File

@@ -0,0 +1,93 @@
1
+# Edit this configuration file to define what should be installed on
2
+# your system.  Help is available in the configuration.nix(5) man page
3
+# and in the NixOS manual (accessible by running ‘nixos-help’).
4
+
5
+{ config, pkgs, ... }:
6
+
7
+{
8
+  imports =
9
+    [ # Include the results of the hardware scan.
10
+      ./hardware-configuration.nix
11
+    ];
12
+
13
+  # Use the systemd-boot EFI boot loader.
14
+  boot.loader.systemd-boot.enable = true;
15
+  boot.loader.efi.canTouchEfiVariables = true;
16
+
17
+  networking.hostName = "pulsebert"; # Define your hostname.
18
+  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
19
+
20
+  # Configure network proxy if necessary
21
+  # networking.proxy.default = "http://user:password@proxy:port/";
22
+  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
23
+
24
+  # Select internationalisation properties.
25
+  i18n = {
26
+    consoleFont = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
27
+    consoleKeyMap = "us";
28
+    defaultLocale = "en_US.UTF-8";
29
+  };
30
+
31
+  # Set your time zone.
32
+  time.timeZone = "Europe/Berlin";
33
+
34
+  # List packages installed in system profile. To search, run:
35
+  # $ nix search wget
36
+  environment.systemPackages = with pkgs; [
37
+    # specific printer drivers for our printers
38
+    epson-escpr
39
+    splix
40
+    # utilities
41
+    nix-index
42
+    tmux
43
+    vim
44
+  ];
45
+
46
+  # Some programs need SUID wrappers, can be configured further or are
47
+  # started in user sessions.
48
+  # programs.mtr.enable = true;
49
+  # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
50
+
51
+  # List services that you want to enable:
52
+
53
+  # Enable the OpenSSH daemon.
54
+  services.openssh.enable = true;
55
+
56
+  # Open ports in the firewall.
57
+  # networking.firewall.allowedTCPPorts = [ ... ];
58
+  # networking.firewall.allowedUDPPorts = [ ... ];
59
+  # Or disable the firewall altogether.
60
+  # networking.firewall.enable = false;
61
+
62
+  # Enable CUPS to print documents.
63
+  services.printing.enable = true;
64
+
65
+  # Enable sound.
66
+  sound.enable = true;
67
+  hardware.pulseaudio.enable = true;
68
+
69
+  # Enable the X11 windowing system.
70
+  # services.xserver.enable = true;
71
+  # services.xserver.layout = "us";
72
+  # services.xserver.xkbOptions = "eurosign:e";
73
+
74
+  # Enable touchpad support.
75
+  # services.xserver.libinput.enable = true;
76
+
77
+  # Enable the KDE Desktop Environment.
78
+  # services.xserver.displayManager.sddm.enable = true;
79
+  # services.xserver.desktopManager.plasma5.enable = true;
80
+
81
+  # Define a user account. Don't forget to set a password with ‘passwd’.
82
+  users.users."k-ot" = {
83
+    isNormalUser = true;
84
+    uid = 1000;
85
+  };
86
+
87
+  # This value determines the NixOS release with which your system is to be
88
+  # compatible, in order to avoid breaking some software such as database
89
+  # servers. You should change this only after NixOS release notes say you
90
+  # should.
91
+  system.stateVersion = "18.09"; # Did you read the comment?
92
+
93
+}

Loading…
Cancel
Save