flake-parts #1
7 changed files with 32 additions and 6 deletions
add zsh module
commit
4af229a564
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -304,16 +304,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792030654,
|
"lastModified": 1792094642,
|
||||||
"narHash": "sha256-OaQwAtPMTjQiY2sT/2/62UbSPhzP/0aDnWzMm/NCiUw=",
|
"narHash": "sha256-zp8ToDMnqZcu4o4IH9pdwXFXGp7yLm/M0dEnNWnyd7I=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "26f4107e47e3ad0ffd0db220469ba83b6f6d96e8",
|
"rev": "fe13242281a67641c0102cdb1087f0ebe586c7df",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-26.05",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
description = "lucy's nix config";
|
description = "lucy's nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
import-tree.url = "github:vic/import-tree";
|
import-tree.url = "github:vic/import-tree";
|
||||||
nix-easyroam = {
|
nix-easyroam = {
|
||||||
|
|
|
||||||
7
modules/system/programs/default.nix
Normal file
7
modules/system/programs/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.programs = {
|
||||||
|
programs.niri.enable = true;
|
||||||
|
programs.steam.enable = true;
|
||||||
|
programs.direnv.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
19
modules/system/programs/zsh.nix
Normal file
19
modules/system/programs/zsh.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.zsh = {
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
autosuggestions.enable = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
ohMyZsh = {
|
||||||
|
enable = true;
|
||||||
|
theme = "gentoo";
|
||||||
|
};
|
||||||
|
shellInit = ''
|
||||||
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
|
||||||
|
eval "$(devenv hook zsh)"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
system.userActivationScripts.zshrc = "touch .zshrc";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.nixosModules.stylixTargets = {
|
flake.nixosModules.stylixTargets = {
|
||||||
imports = [ inputs.stylix.nixosModules.stylix ];
|
|
||||||
stylix.autoEnable = false;
|
stylix.autoEnable = false;
|
||||||
stylix.targets = {
|
stylix.targets = {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
|
|
||||||
BIN
modules/system/stylix/wallpaper.png
Normal file
BIN
modules/system/stylix/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 MiB |
Loading…
Reference in a new issue