nixos-configuration/configuration.nix

75 lines
1.4 KiB
Nix
Raw Normal View History

2024-12-27 21:31:18 +01:00
{
pkgs,
inputs,
outputs,
2024-12-27 21:31:18 +01:00
...
}:
let
common = import ./common.nix;
in
2024-12-26 22:19:23 +01:00
{
imports = [ ./modules ];
2024-12-26 22:19:23 +01:00
nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
2024-12-26 22:19:23 +01:00
# Bootloader.
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
2024-12-26 22:19:23 +01:00
2025-01-08 19:49:57 +01:00
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.${common.username} = {
2024-12-26 22:19:23 +01:00
isNormalUser = true;
description = common.username;
2024-12-27 21:31:18 +01:00
extraGroups = [
"networkmanager"
"wheel"
];
2024-12-26 22:19:23 +01:00
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
environment.sessionVariables = {
# Tells Electron apps to use Wayland
NIXOS_OZONE_WL = "1";
};
2024-12-26 22:19:23 +01:00
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
brightnessctl
2024-12-26 22:19:23 +01:00
wget
xdg-utils
xdg-desktop-portal
2024-12-26 22:19:23 +01:00
xdg-desktop-portal-gtk
protonmail-desktop
stremio
fastfetch
discord
nix-prefetch-github # Cmd to get rev and hash from GitHub
gimp
vlc
vdhcoapp
fortune
cowsay
inputs.zen-browser.packages."${system}".default # beta
2025-01-26 21:36:38 +01:00
onlyoffice-desktopeditors
2024-12-26 22:19:23 +01:00
];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
programs.kdeconnect.enable = true;
2024-12-26 22:19:23 +01:00
services = {
flatpak.enable = false;
xserver.enable = true;
};
system.stateVersion = common.system.version;
2024-12-26 22:19:23 +01:00
}