nixos/hosts/nixdev/default.nix

104 lines
2.1 KiB
Nix
Raw Normal View History

2024-05-12 19:58:55 +01:00
{ inputs, config, lib, pkgs, outputs, configLib, ... }:
2024-05-08 00:45:54 +01:00
{
imports =
[
2024-05-12 19:58:55 +01:00
# Import core options
2024-05-08 00:45:54 +01:00
./hardware-configuration.nix
2024-05-12 19:58:55 +01:00
../common/core
# Import optional options
2024-05-11 20:55:27 +01:00
../common/optional/pipewire.nix
../common/optional/hyprland.nix
../common/optional/displayManager/sddm.nix
2024-05-12 19:58:55 +01:00
../common/optional/openssh
# Create users for this host
../common/users/sam
2024-05-08 00:45:54 +01:00
];
2024-05-09 12:03:13 +01:00
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
2024-05-08 00:45:54 +01:00
};
};
2024-05-09 12:03:13 +01:00
2024-05-08 00:45:54 +01:00
nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
networking.networkmanager.enable = true;
time.timeZone = "Europe/London";
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
i18n.defaultLocale = "en_GB.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "uk";
useXkbConfig = false;
};
services.printing.enable = true;
2024-05-11 20:55:27 +01:00
# sound.enable = true;
# hardware.pulseaudio.enable = true;
2024-05-08 00:45:54 +01:00
services.libinput.enable = true;
2024-05-12 19:58:55 +01:00
# users.users.sam = {
# isNormalUser = true;
# extraGroups = [ "wheel" ];
# };
2024-05-08 00:45:54 +01:00
2024-05-12 19:58:55 +01:00
# users.users.sam.shell = pkgs.zsh;
2024-05-08 00:45:54 +01:00
environment.systemPackages = with pkgs; [
2024-05-11 20:55:27 +01:00
# curl
# vim
# home-manager
# tmux
# waybar
# git
# mako
# libnotify
# wl-clipboard
# swww
# rofi-wayland
# networkmanagerapplet
# htop
# sddm-theme
# sddm
# sshfs-fuse
# wdisplays
2024-05-12 11:09:46 +01:00
#wallpaper_changer
2024-05-11 20:55:27 +01:00
# #(callPackage ../../nixos_modules/themes/sddm-sugar-candy.nix{}).sddm-sugar-candy-theme
# libsForQt5.qt5.qtgraphicaleffects #required for sugar candy
# #(import ../../nixos_modules/scripts/wallpaper_changer.nix { inherit pkgs; })
2024-05-08 00:45:54 +01:00
];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
2024-05-12 19:58:55 +01:00
# programs.zsh.enable = true;
2024-05-08 00:45:54 +01:00
hardware = {
opengl.enable = true;
nvidia.modesetting.enable = true;
};
system.stateVersion = "23.11";
}