Compare commits
1 Commits
master
...
d2e3405342
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2e3405342
|
BIN
Darwin.png
BIN
Darwin.png
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 MiB |
@ -3,7 +3,6 @@
|
|||||||
Modular NixOS configuration, using [Niri](https://github.com/niri-wm/niri) and [Waybar](https://github.com/Alexays/Waybar) for a light desktop.
|
Modular NixOS configuration, using [Niri](https://github.com/niri-wm/niri) and [Waybar](https://github.com/Alexays/Waybar) for a light desktop.
|
||||||
|
|
||||||

|

|
||||||

|
|
||||||
|
|
||||||
To install, run `nixos-rebuild` with the `--flake` parameter from the `NixFlake` directory: `nixos-rebuild switch --flake .#nixinator`.
|
To install, run `nixos-rebuild` with the `--flake` parameter from the `NixFlake` directory: `nixos-rebuild switch --flake .#nixinator`.
|
||||||
Alternatively, use `nh os switch` or `nh os boot`.
|
Alternatively, use `nh os switch` or `nh os boot`.
|
||||||
|
|||||||
@ -45,18 +45,6 @@ in {
|
|||||||
programs.fish = lib.mkMerge [
|
programs.fish = lib.mkMerge [
|
||||||
# Darwin exclusive config
|
# Darwin exclusive config
|
||||||
(lib.mkIf pkgs.stdenv.isDarwin {
|
(lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
shellInit = ''
|
|
||||||
set fish_greeting
|
|
||||||
yes | fish_config theme save "system-theme"
|
|
||||||
|
|
||||||
set --global --export HOMEBREW_PREFIX "/opt/homebrew"
|
|
||||||
set --global --export HOMEBREW_CELLAR "/opt/homebrew/Cellar"
|
|
||||||
set --global --export HOMEBREW_REPOSITORY "/opt/homebrew"
|
|
||||||
fish_add_path --global --move --path "/opt/homebrew/bin" "/opt/homebrew/sbin"
|
|
||||||
if test -n "$MANPATH[1]"; set --global --export MANPATH ''' $MANPATH; end;
|
|
||||||
if not contains "/opt/homebrew/share/info" $INFOPATH; set --global --export INFOPATH "/opt/homebrew/share/info" $INFOPATH; end;
|
|
||||||
'';
|
|
||||||
|
|
||||||
shellAbbrs = let
|
shellAbbrs = let
|
||||||
# These can be used for my config.homemodules and for HM config.programs,
|
# These can be used for my config.homemodules and for HM config.programs,
|
||||||
# as both of these add the package to home.packages
|
# as both of these add the package to home.packages
|
||||||
@ -78,11 +66,6 @@ in {
|
|||||||
(lib.mkIf pkgs.stdenv.isLinux {
|
(lib.mkIf pkgs.stdenv.isLinux {
|
||||||
generateCompletions = nixosConfig.programs.fish.generateCompletions;
|
generateCompletions = nixosConfig.programs.fish.generateCompletions;
|
||||||
|
|
||||||
shellInit = ''
|
|
||||||
set fish_greeting
|
|
||||||
yes | fish_config theme save "system-theme"
|
|
||||||
'';
|
|
||||||
|
|
||||||
functions = lib.mergeAttrsList [
|
functions = lib.mergeAttrsList [
|
||||||
(lib.optionalAttrs config.homemodules.nnn.enable {
|
(lib.optionalAttrs config.homemodules.nnn.enable {
|
||||||
nnncd = {
|
nnncd = {
|
||||||
@ -245,6 +228,11 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
plugins = [];
|
plugins = [];
|
||||||
|
|
||||||
|
shellInit = ''
|
||||||
|
set fish_greeting
|
||||||
|
yes | fish_config theme save "system-theme"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "${hostname}";
|
hostname = "${hostname}";
|
||||||
localHostName = "${hostname}";
|
localHostName = "${hostname}";
|
||||||
computerName = "${hostname}";
|
computerName = "${hostname}";
|
||||||
|
|
||||||
@ -46,11 +46,6 @@
|
|||||||
blockAllIncoming = false;
|
blockAllIncoming = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
knownNetworkServices = [
|
|
||||||
"Wi-Fi"
|
|
||||||
"Thunderbold Bridge"
|
|
||||||
];
|
|
||||||
|
|
||||||
dns = [
|
dns = [
|
||||||
"192.168.86.26"
|
"192.168.86.26"
|
||||||
"8.8.8.8"
|
"8.8.8.8"
|
||||||
@ -61,8 +56,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
power = {
|
power = {
|
||||||
# restartAfterFreeze = false;
|
restartAfterFreeze = false;
|
||||||
# restartAfterPowerFailure = false;
|
restartAfterPowerFailure = false;
|
||||||
|
|
||||||
sleep = {
|
sleep = {
|
||||||
computer = 10; # 10 minutes until sleep
|
computer = 10; # 10 minutes until sleep
|
||||||
@ -72,18 +67,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
primaryUser = "${username}";
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
defaults = {
|
defaults = {
|
||||||
# dock = {};
|
# dock = {};
|
||||||
|
|
||||||
trackpad = {
|
trackpad = {
|
||||||
ActuateDetents = true; # Haptic feedback
|
ActuateDetents = true;
|
||||||
ActuationStrength = 1;
|
ActuationStrength = 1;
|
||||||
Clicking = true; # Tap to click
|
|
||||||
Dragging = true; # Double tap to drag
|
|
||||||
TrackpadRightClick = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user