mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
Update configs
This commit is contained in:
parent
e6f48c1e30
commit
4d57da3cf7
7 changed files with 60 additions and 16 deletions
|
@ -5,4 +5,4 @@
|
|||
- do something with dotfiles installation from [ivabus/dotfiles](https://github.com/ivabus/dotfiles)
|
||||
- install nixos on more machines
|
||||
- write proper readme
|
||||
- switch to swaywm
|
||||
- fix gtk theming issues
|
|
@ -8,12 +8,16 @@
|
|||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
wget
|
||||
git
|
||||
curl
|
||||
usbutils
|
||||
usbmuxd
|
||||
pciutils
|
||||
coreutils-full
|
||||
];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
|
@ -4,12 +4,48 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
firefox
|
||||
alacritty
|
||||
pavucontrol
|
||||
mpv
|
||||
glib
|
||||
ffmpeg
|
||||
cinnamon.mint-y-icons
|
||||
];
|
||||
services.fwupd.enable = true;
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
waybar
|
||||
grim
|
||||
slurp
|
||||
wf-recorder
|
||||
sway-launcher-desktop
|
||||
swaybg
|
||||
swayidle
|
||||
swaylock
|
||||
poweralertd
|
||||
kanshi
|
||||
catppuccin-cursors
|
||||
libsForQt5.qt5ct
|
||||
mako
|
||||
pulseaudio
|
||||
brightnessctl
|
||||
];
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
|
@ -17,7 +53,7 @@
|
|||
};
|
||||
|
||||
services.dbus.enable = true;
|
||||
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
powertop
|
||||
];
|
||||
services.tlp.enable = true;
|
||||
services.upower.enable = true;
|
||||
|
||||
networking.wireless.iwd.enable = true;
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
cargo
|
||||
rustc
|
||||
neofetch
|
||||
gitFull
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
@ -22,7 +23,5 @@
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Ivan Bushchik";
|
||||
userEmail = "ivabus@ivabus.dev";
|
||||
};
|
||||
}
|
|
@ -2,13 +2,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
|
|
|
@ -27,4 +27,10 @@
|
|||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
services.tlp.settings = {
|
||||
START_CHARGE_THRESH_BAT0 = 40;
|
||||
STOP_CHARGE_THRESH_BAT0 = 80;
|
||||
};
|
||||
powerManagement.enable = true;
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue