This commit is contained in:
iFargle 2023-08-22 21:11:46 +09:00
parent a09c576ca5
commit cb58d0ed45
3 changed files with 18 additions and 22 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, master-pkgs, hostname, ... }: { { config, pkgs, hostname, ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -102,18 +102,20 @@
gnome.simple-scan gnome.simple-scan
]); ]);
environment.systemPackages = with master-pkgs.pkgs; [ environment.systemPackages = with pkgs.gnomeExtensions; [
# Gnome Extensions # Gnome Extensions
gnomeExtensions.tiling-assistant tiling-assistant
gnomeExtensions.dash-to-dock dash-to-dock
gnomeExtensions.blur-my-shell blur-my-shell
gnomeExtensions.vitals vitals
gnomeExtensions.user-themes user-themes
gnomeExtensions.caffeine caffeine
gnomeExtensions.hibernate-status-button hibernate-status-button
gnomeExtensions.night-theme-switcher night-theme-switcher
gnomeExtensions.gamemode gamemode
];
environment.systemPackages = with pkgs; [
# Gnome relevant packages # Gnome relevant packages
gnome3.gnome-tweaks gnome3.gnome-tweaks
papirus-icon-theme papirus-icon-theme

View file

@ -6,7 +6,6 @@
inputs = { inputs = {
# NixOS packages # NixOS packages
unstable-nixpkgs.url = "nixpkgs/nixos-unstable"; unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
master-nixpkgs.url = "nixpkgs/master";
# Manage dotfiles in a home directory # Manage dotfiles in a home directory
home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.url = "github:nix-community/home-manager/release-23.05";
@ -29,7 +28,6 @@
outputs = { outputs = {
self, self,
unstable-nixpkgs, unstable-nixpkgs,
master-nixpkgs,
home-manager, home-manager,
lanzaboote, lanzaboote,
nur, nur,
@ -47,10 +45,6 @@
inherit system; inherit system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
master-pkgs = import master-nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
lib = unstable-nixpkgs.lib; lib = unstable-nixpkgs.lib;
in { in {
@ -61,7 +55,6 @@
inherit system; inherit system;
specialArgs = { specialArgs = {
inherit hostname; inherit hostname;
inherit master-pkgs;
}; };
modules = [ modules = [
# Configuration Imports # Configuration Imports

View file

@ -34,6 +34,11 @@
bash = { bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
sessionVariables = {
# Set the GTK Theme
GTK_THEME = "Gruvbox-Dark-BL";
XDG_DATA_HOME = "$HOME/.local/share";
};
bashrcExtra = '' bashrcExtra = ''
sops-edit() { sops-edit() {
nix-shell -p sops --run "sops $1" nix-shell -p sops --run "sops $1"
@ -53,10 +58,6 @@
# nVidia prime selector alias: # nVidia prime selector alias:
prime-select = "nvidia-offload"; prime-select = "nvidia-offload";
XDG_DATA_HOME = "$HOME/.local/share";
# Set the GTK Theme
GTK_THEME = "Gruvbox-Dark-BL";
# docker # docker
d = "docker"; d = "docker";