-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
687 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,7 @@ | ||
{ | ||
imports = [ | ||
# Include the results of the hardware scan. | ||
./hardware-configuration.nix | ||
../shared | ||
../../modules/nixos | ||
]; | ||
|
||
programs.steam = { | ||
enable = true; | ||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play | ||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server | ||
}; | ||
services = { | ||
logind = { | ||
powerKey = "suspend"; | ||
lidSwitch = "suspend"; | ||
lidSwitchExternalPower = "lock"; | ||
}; | ||
}; | ||
# Bootloader. | ||
boot.loader.systemd-boot.enable = true; | ||
boot.loader.efi.canTouchEfiVariables = true; | ||
|
||
networking.hostName = "hp"; # Define your hostname. | ||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. | ||
|
||
# Configure network proxy if necessary | ||
# networking.proxy.default = "http://user:password@proxy:port/"; | ||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; | ||
|
||
# Enable networking | ||
networking.networkmanager.enable = true; | ||
|
||
# Set your time zone. | ||
time.timeZone = "Europe/Paris"; | ||
|
||
# Select internationalisation properties. | ||
i18n.defaultLocale = "en_US.UTF-8"; | ||
|
||
i18n.extraLocaleSettings = { | ||
LC_ADDRESS = "fr_FR.UTF-8"; | ||
LC_IDENTIFICATION = "fr_FR.UTF-8"; | ||
LC_MEASUREMENT = "fr_FR.UTF-8"; | ||
LC_MONETARY = "fr_FR.UTF-8"; | ||
LC_NAME = "fr_FR.UTF-8"; | ||
LC_NUMERIC = "fr_FR.UTF-8"; | ||
LC_PAPER = "fr_FR.UTF-8"; | ||
LC_TELEPHONE = "fr_FR.UTF-8"; | ||
LC_TIME = "fr_FR.UTF-8"; | ||
}; | ||
|
||
# Configure keymap in X11 | ||
services.xserver.xkb = { | ||
layout = "us"; | ||
variant = ""; | ||
}; | ||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’. | ||
users.users.gwen = { | ||
isNormalUser = true; | ||
description = "gwen"; | ||
extraGroups = ["networkmanager" "wheel"]; | ||
}; | ||
|
||
# Allow unfree packages | ||
nixpkgs.config.allowUnfree = true; | ||
|
||
system.stateVersion = "23.11"; # Did you read the comment? | ||
} |
Oops, something went wrong.