split everything into modules and update nixpkgs
This commit is contained in:
+18
-61
@@ -1,57 +1,17 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ...}:
|
||||
{ pkgs, inputs, ...}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./home/manager.nix
|
||||
./system
|
||||
];
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./system
|
||||
./home/manager.nix
|
||||
./services
|
||||
./programs
|
||||
./hardware
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Asia/Kolkata";
|
||||
|
||||
i18n.defaultLocale = "en_IN";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_IN";
|
||||
LC_IDENTIFICATION = "en_IN";
|
||||
LC_MEASUREMENT = "en_IN";
|
||||
LC_MONETARY = "en_IN";
|
||||
LC_NAME = "en_IN";
|
||||
LC_NUMERIC = "en_IN";
|
||||
LC_PAPER = "en_IN";
|
||||
LC_TELEPHONE = "en_IN";
|
||||
LC_TIME = "en_IN";
|
||||
};
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
services.printing.enable = false;
|
||||
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
security.polkit.enable = true;
|
||||
|
||||
users.users.aditya = {
|
||||
isNormalUser = true;
|
||||
@@ -62,23 +22,20 @@
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bemenu
|
||||
telegram-desktop
|
||||
(discord.override {
|
||||
withOpenASAR = true;
|
||||
})
|
||||
helix
|
||||
bruno
|
||||
chromium
|
||||
kdePackages.kdenlive
|
||||
antigravity
|
||||
zed-editor
|
||||
devenv
|
||||
nixd
|
||||
nodejs
|
||||
inputs.pano-scrobbler.packages."x86_64-linux".default
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user