added sanddorn config

This commit is contained in:
revol-xut 2022-04-10 13:59:39 +02:00
parent 10ece5d65f
commit a8a8e6bad5
No known key found for this signature in database
GPG key ID: B966009D57E69CC6
28 changed files with 327 additions and 38 deletions

29
hosts/birne/configuration.nix Normal file → Executable file
View file

@ -8,21 +8,12 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/base.nix
../../modules/autoupdate.nix
../../modules/desktop.nix
../../modules/printing.nix
../../modules/wifi.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Set your time zone.
time.timeZone = "Europe/Busingen";
networking = {
hostName = "birne";
interfaces.wlp4s0.useDHCP = true;
@ -34,33 +25,13 @@
};
nixpkgs.config.allowUnfree = true;
nix = {
package = pkgs.nixUnstable; # or versioned attributes like nix_2_4
extraOptions = ''
experimental-features = nix-command flakes
'';
};
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound.
# sound.enable = true;
# hardware.pulseaudio.enable = true;
users.users.printer = {
isNormalUser = true;
password = "printer";
extraGroups = [];
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
git
firefox
];

0
hosts/birne/hardware-configuration.nix Normal file → Executable file
View file