first commit
This commit is contained in:
110
glasshouse-desktop/configuration.nix
Normal file
110
glasshouse-desktop/configuration.nix
Normal file
@@ -0,0 +1,110 @@
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
hosts = {
|
||||
"192.168.1.163" = [ "glasshouse.info" ];
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
programs.steam.enable = true;
|
||||
|
||||
|
||||
# Enable sound.
|
||||
#hardware.pulseaudio.enable = true;
|
||||
# OR
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
};
|
||||
services.udev.enable = true;
|
||||
services.dbus.enable = true;
|
||||
|
||||
|
||||
users.users.pagedmov = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
alsa-utils
|
||||
alsa-lib
|
||||
zsh
|
||||
git
|
||||
zsh-syntax-highlighting
|
||||
zsh-history-substring-search
|
||||
zsh-autosuggestions
|
||||
xwaylandvideobridge
|
||||
xpad
|
||||
wl-clipboard
|
||||
wine
|
||||
vscode-langservers-extracted
|
||||
vim
|
||||
usbutils
|
||||
unzip
|
||||
unrar
|
||||
tor
|
||||
stress
|
||||
sox
|
||||
socat
|
||||
pyright
|
||||
protontricks
|
||||
protonmail-bridge
|
||||
playerctl
|
||||
pavucontrol
|
||||
pamixer
|
||||
p7zip
|
||||
neofetch
|
||||
luarocks
|
||||
lua-language-server
|
||||
lsof
|
||||
lolcat
|
||||
imagemagick
|
||||
hyprpicker
|
||||
hyprpaper
|
||||
hyprland-workspaces
|
||||
hyprland
|
||||
htop
|
||||
inetutils
|
||||
fzf
|
||||
feh
|
||||
fail2ban
|
||||
cmake
|
||||
clang
|
||||
cava
|
||||
];
|
||||
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user