update
This commit is contained in:
parent
2a60ad3a78
commit
9125a3ef6b
5 changed files with 46 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, pkgs-unstable, lib, ... }:
|
{ config, pkgs, pkgs-unstable, lib, inputs, ... }:
|
||||||
|
|
||||||
|
|
||||||
#░█░█░█▀▀░█▀▀░█▀▄░░░█░█░█▀█░█▀▄░▀█▀░█▀█░█▀▄░█░░░█▀▀░█▀▀
|
#░█░█░█▀▀░█▀▀░█▀▄░░░█░█░█▀█░█▀▄░▀█▀░█▀█░█▀▄░█░░░█▀▀░█▀▀
|
||||||
|
|
@ -55,7 +55,7 @@ in
|
||||||
"udev.log_priority=3"
|
"udev.log_priority=3"
|
||||||
];
|
];
|
||||||
|
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
|
||||||
loader.timeout = 0;
|
loader.timeout = 0;
|
||||||
loader.systemd-boot.consoleMode = "auto";
|
loader.systemd-boot.consoleMode = "auto";
|
||||||
|
|
@ -118,9 +118,6 @@ in
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix.enable = true;
|
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
|
||||||
|
|
||||||
|
|
||||||
#░█░█░█▀█░█▀▀░█▀▄░█▀▀░█▀▀
|
#░█░█░█▀█░█▀▀░█▀▄░█▀▀░█▀▀
|
||||||
#░█░█░█░█░█▀▀░█▀▄░█▀▀░█▀▀
|
#░█░█░█░█░█▀▀░█▀▄░█▀▀░█▀▀
|
||||||
|
|
@ -182,6 +179,7 @@ in
|
||||||
nautilus-python
|
nautilus-python
|
||||||
sushi
|
sushi
|
||||||
fsearch
|
fsearch
|
||||||
|
filezilla
|
||||||
|
|
||||||
# SCREENSHOTS AND RECORDING #
|
# SCREENSHOTS AND RECORDING #
|
||||||
grim
|
grim
|
||||||
|
|
@ -192,12 +190,14 @@ in
|
||||||
|
|
||||||
# HYPRLAND RELATED #
|
# HYPRLAND RELATED #
|
||||||
hyprpaper
|
hyprpaper
|
||||||
|
swaybg
|
||||||
pkgs-unstable.hyprlock
|
pkgs-unstable.hyprlock
|
||||||
swaylock
|
swaylock
|
||||||
hypridle
|
hypridle
|
||||||
hyprpanel
|
hyprpanel
|
||||||
hyprpolkitagent
|
hyprpolkitagent
|
||||||
waybar
|
waybar
|
||||||
|
hyprpanel
|
||||||
wlogout
|
wlogout
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
libnotify
|
libnotify
|
||||||
|
|
@ -211,6 +211,8 @@ in
|
||||||
xournalpp
|
xournalpp
|
||||||
gnome-text-editor
|
gnome-text-editor
|
||||||
gnome-calculator
|
gnome-calculator
|
||||||
|
simple-scan
|
||||||
|
anydesk
|
||||||
|
|
||||||
# MEDIA #
|
# MEDIA #
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
@ -220,6 +222,8 @@ in
|
||||||
|
|
||||||
# INTERNET #
|
# INTERNET #
|
||||||
floorp
|
floorp
|
||||||
|
brave
|
||||||
|
grayjay
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
element-desktop
|
element-desktop
|
||||||
(discord.override {
|
(discord.override {
|
||||||
|
|
@ -329,6 +333,18 @@ in
|
||||||
# Fonts with emojis uwu #
|
# Fonts with emojis uwu #
|
||||||
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
|
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "25.11";
|
||||||
|
|
||||||
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
flake = inputs.self.outPath;
|
||||||
|
flags = [
|
||||||
|
"--update-input"
|
||||||
|
"nixpkgs"
|
||||||
|
"-L" # print build logs
|
||||||
|
];
|
||||||
|
dates = "02:00";
|
||||||
|
randomizedDelaySec = "45min";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,24 +4,19 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
#hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||||
stylix.url = "github:danth/stylix";
|
#stylix.url = "github:danth/stylix";
|
||||||
#catppuccin.url = "github:catppuccin/nix";
|
|
||||||
#home-manager = {
|
|
||||||
# url = "github:nix-community/home-manager";
|
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
#};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, stylix, ... } @inputs:
|
outputs = { self, nixpkgs, nixpkgs-unstable, ... } @inputs:
|
||||||
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux"; # change to whatever your system should be.
|
system = "x86_64-linux";
|
||||||
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; };
|
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; };
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.hyprpanel.overlay
|
#inputs.hyprpanel.overlay
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||||
})
|
})
|
||||||
|
|
@ -39,21 +34,9 @@
|
||||||
inherit pkgs-unstable;
|
inherit pkgs-unstable;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
#catppuccin.nixosModules.catppuccin
|
|
||||||
|
|
||||||
#home-manager.nixosModules.home-manager
|
|
||||||
#{
|
|
||||||
# if you use home-manager
|
|
||||||
# home-manager.users.nicole = {
|
|
||||||
# imports = [
|
|
||||||
# ./home.nix
|
|
||||||
# catppuccin.homeManagerModules.catppuccin
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
#}
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
{nixpkgs.overlays = [inputs.hyprpanel.overlay];}
|
#{nixpkgs.overlays = [inputs.hyprpanel.overlay];}
|
||||||
stylix.nixosModules.stylix
|
#stylix.nixosModules.stylix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,14 @@
|
||||||
#░▀▀░░▀▀▀░▀▀▀░▀░▀░░▀░░▀▀▀░▀░░
|
#░▀▀░░▀▀▀░▀▀▀░▀░▀░░▀░░▀▀▀░▀░░
|
||||||
|
|
||||||
{config, pkgs, pkgs-unstable, lib, ... }:
|
{config, pkgs, pkgs-unstable, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
# Enable GDM
|
# Enable GDM
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
#services.displayManager.gdm.enable = true;
|
||||||
|
|
||||||
|
# Enable SDDM
|
||||||
|
services.displayManager.sddm.enable = true;
|
||||||
|
services.displayManager.sddm.wayland.enable = true;
|
||||||
|
|
||||||
# Gnome Keyring (for window managers)
|
# Gnome Keyring (for window managers)
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
@ -19,6 +22,15 @@
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# SWAY
|
||||||
|
#programs.sway = {
|
||||||
|
# enable = true;
|
||||||
|
# wrapperFeatures.gtk = true;
|
||||||
|
#};
|
||||||
|
|
||||||
|
# GNOME
|
||||||
|
#services.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
WLR_NO_HARDWARE_CURSOR = "1";
|
WLR_NO_HARDWARE_CURSOR = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,10 @@
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
nvidia = {
|
nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
open = true;
|
open = true;
|
||||||
gsp.enable = config.hardware.nvidia.open;
|
gsp.enable = config.hardware.nvidia.open;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = false;
|
||||||
powerManagement.finegrained = false;
|
powerManagement.finegrained = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ in
|
||||||
|
|
||||||
# Add the GPU video and audio to VFIO binding
|
# Add the GPU video and audio to VFIO binding
|
||||||
extraModprobeConfig = ''options vfio-pci ids=${builtins.concatStringsSep "," vfioIds}
|
extraModprobeConfig = ''options vfio-pci ids=${builtins.concatStringsSep "," vfioIds}
|
||||||
options kvmfr static_size_mb=64
|
options kvmfr static_size_mb=128
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Enable the KVMFR kernel package
|
# Enable the KVMFR kernel package
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue