ummmm.. icon themes, emacs yippie
This commit is contained in:
parent
10e149312d
commit
8f4a1a085d
17
flake.nix
17
flake.nix
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -10,11 +11,22 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nur.url = "github:nix-community/nur";
|
nur.url = "github:nix-community/nur";
|
||||||
|
emacs-overlay = {
|
||||||
|
url = "github:nix-community/emacs-overlay";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ { self, disko, nixpkgs, home-manager, ... }:
|
outputs = inputs @ { self, disko, nixpkgs, nixpkgs-unstable, home-manager, emacs-overlay, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
overlay-unstable = final: prev: {
|
||||||
|
unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true; # Allow unfree packages globally
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
in rec {
|
in rec {
|
||||||
mkSystem = {host, ...}: nixpkgs.lib.nixosSystem {
|
mkSystem = {host, ...}: nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
@ -46,8 +58,11 @@
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.nur.overlays.default
|
inputs.nur.overlays.default
|
||||||
|
emacs-overlay.overlays.default
|
||||||
|
overlay-unstable
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
|
@ -12,6 +12,7 @@ in {
|
||||||
./libinput.nix
|
./libinput.nix
|
||||||
./git-ssh.nix
|
./git-ssh.nix
|
||||||
./emacs.nix
|
./emacs.nix
|
||||||
|
./development
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
|
@ -19,6 +20,28 @@ in {
|
||||||
# flake = "/etc/nixos/config#laptop"
|
# flake = "/etc/nixos/config#laptop"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Breeze-Dark";
|
||||||
|
package = pkgs.kdePackages.breeze-gtk;
|
||||||
|
};
|
||||||
|
iconTheme = {
|
||||||
|
name = "Papirus-Dark";
|
||||||
|
package = pkgs.papirus-icon-theme;
|
||||||
|
};
|
||||||
|
cursorTheme = {
|
||||||
|
name = "WhiteSur-cursors";
|
||||||
|
package = pkgs.whitesur-cursors;
|
||||||
|
size = 24;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "25.05";
|
stateVersion = "25.05";
|
||||||
|
@ -28,8 +51,19 @@ in {
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
VISUAL = "nvim";
|
VISUAL = "nvim";
|
||||||
|
GTK_THEME = "Breeze-Dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pointerCursor = {
|
||||||
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
x11.defaultCursor = "WhiteSur-cursors";
|
||||||
|
name = "WhiteSur-cursors";
|
||||||
|
package = pkgs.whitesur-cursors;
|
||||||
|
size = 32;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# Add your global packages here
|
# Add your global packages here
|
||||||
neovim
|
neovim
|
||||||
|
@ -41,9 +75,12 @@ in {
|
||||||
htop
|
htop
|
||||||
pavucontrol
|
pavucontrol
|
||||||
ripgrep
|
ripgrep
|
||||||
|
vanilla-dmz
|
||||||
|
|
||||||
|
# file manager
|
||||||
|
nemo-with-extensions
|
||||||
|
|
||||||
screenshot
|
screenshot
|
||||||
# nur.repos.LuisChDev.nordvpn
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
6
home/development/default.nix
Normal file
6
home/development/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./nix.nix
|
||||||
|
./rust.nix
|
||||||
|
];
|
||||||
|
}
|
5
home/development/nix.nix
Normal file
5
home/development/nix.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nixd
|
||||||
|
];
|
||||||
|
}
|
4
home/development/rust.nix
Normal file
4
home/development/rust.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
# home.packages = with pkgs; [
|
||||||
|
# ];
|
||||||
|
}
|
|
@ -10,12 +10,14 @@ in {
|
||||||
# TODO: turn this into a FHS or package so these dependencies don't have to be
|
# TODO: turn this into a FHS or package so these dependencies don't have to be
|
||||||
# accessible from the global namespace.
|
# accessible from the global namespace.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
emacs
|
|
||||||
python3
|
python3
|
||||||
enchant # spell checking
|
enchant2 # spell checking
|
||||||
|
enchant2.dev # for building jinx
|
||||||
|
pkg-config
|
||||||
ripgrep # for Emacs' ripgrep integration
|
ripgrep # for Emacs' ripgrep integration
|
||||||
libvterm-neovim # vterm support for Emacs
|
libvterm-neovim # vterm support for Emacs
|
||||||
nodejs_24
|
nodejs_24
|
||||||
|
copilot-node-server
|
||||||
copilot-language-server-fhs
|
copilot-language-server-fhs
|
||||||
cmake
|
cmake
|
||||||
libtool
|
libtool
|
||||||
|
@ -35,10 +37,26 @@ in {
|
||||||
tree-sitter-markdown
|
tree-sitter-markdown
|
||||||
pkgs.tree-sitter-slang
|
pkgs.tree-sitter-slang
|
||||||
]))
|
]))
|
||||||
];
|
|
||||||
|
# spelling
|
||||||
|
(hunspellWithDicts [
|
||||||
|
hunspellDicts.en-gb-ise
|
||||||
|
hunspellDicts.en-gb-large
|
||||||
|
hunspellDicts.de-de
|
||||||
|
hunspellDicts.da-dk
|
||||||
|
])
|
||||||
|
|
||||||
|
# language servers
|
||||||
|
pkgs.unstable.rust-analyzer
|
||||||
|
nixd];
|
||||||
|
|
||||||
# xdg.configFile = {
|
# xdg.configFile = {
|
||||||
# "emacs" = {
|
# "emacs" = {
|
||||||
# source = emacs-config;
|
# source = emacs-config;
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
|
programs.emacs = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.emacs-git-pgtk;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@ in {
|
||||||
alacritty
|
alacritty
|
||||||
waybar
|
waybar
|
||||||
sway
|
sway
|
||||||
|
whitesur-cursors
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
];
|
];
|
||||||
wayland = {
|
wayland = {
|
||||||
|
@ -30,6 +31,12 @@ in {
|
||||||
config = {
|
config = {
|
||||||
modifier = "${mod}";
|
modifier = "${mod}";
|
||||||
|
|
||||||
|
seat = {
|
||||||
|
"*" = {
|
||||||
|
xcursor_theme = "\"WhiteSur-cursors\" 32";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
output = {
|
output = {
|
||||||
"*".scale = "${lib.strings.floatToString super-config.desktop_scale}";
|
"*".scale = "${lib.strings.floatToString super-config.desktop_scale}";
|
||||||
};
|
};
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
sudo.wheelNeedsPassword = false; # Allow sudo without password
|
sudo.wheelNeedsPassword = false; # Allow sudo without password
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultPackages = true;
|
enableDefaultPackages = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue