Compare commits
8 Commits
090c069a11
...
eac8c77797
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eac8c77797 | ||
|
|
3aab004b55 | ||
|
270d7c2fe4
|
|||
|
4c87e635ab
|
|||
|
129fa4973f
|
|||
|
075ee51920
|
|||
|
aeb370f299
|
|||
|
edf8d639b3
|
@@ -9,6 +9,7 @@
|
|||||||
marisa = "${ipPrefix}.2";
|
marisa = "${ipPrefix}.2";
|
||||||
satori = "${ipPrefix}.3";
|
satori = "${ipPrefix}.3";
|
||||||
hina = "${ipPrefix}.4";
|
hina = "${ipPrefix}.4";
|
||||||
|
okina = "${ipPrefix}.5";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
domain = {
|
domain = {
|
||||||
|
|||||||
7
home/README
Normal file
7
home/README
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
natto : default user for okina (desktop - NixOS Unstable)
|
||||||
|
natto-laptop : default user for satori (laptop - NixOS Unstable)
|
||||||
|
bat : default user for remilia (Oracle VM - NixOS Unstable)
|
||||||
|
spin : default user for hina (Oracle VM - NixOS Unstable)
|
||||||
|
spark : default user for marisa (RPi4 - NixOS Unstable)
|
||||||
|
amneesh : default user for nightbug (Workplace PC - Ubuntu 22.04)
|
||||||
|
|
||||||
24
home/amneesh.nix
Normal file
24
home/amneesh.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
homeDirectory = "/home/amneesh";
|
||||||
|
username = "amneesh";
|
||||||
|
stateVersion = "24.05";
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
htop
|
||||||
|
nattovim
|
||||||
|
clang-tools
|
||||||
|
llvmPackages.clang
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./natto/emacs.nix
|
||||||
|
# ./natto/wayland.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.mime.enable = true;
|
||||||
|
targets.genericLinux.enable = true;
|
||||||
|
programs.bash.enable = true;
|
||||||
|
}
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
unsetopt extendedGlob
|
unsetopt extendedGlob
|
||||||
|
[[ -f ~/.zsh_custom ]] && source ~/.zsh_custom
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,5 +80,13 @@ in
|
|||||||
}] ++ common;
|
}] ++ common;
|
||||||
pkgs = mkPkgs "x86_64-linux";
|
pkgs = mkPkgs "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
amneesh = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit extraSpecialArgs;
|
||||||
|
modules = [
|
||||||
|
./amneesh.nix
|
||||||
|
] ++ common;
|
||||||
|
pkgs = mkPkgs "x86_64-linux";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -501,7 +501,7 @@ not using this anymore
|
|||||||
"M-C-k" 'enlarge-window
|
"M-C-k" 'enlarge-window
|
||||||
"C-q" 'delete-window
|
"C-q" 'delete-window
|
||||||
"M-C-S-q" 'kill-buffer-and-window
|
"M-C-S-q" 'kill-buffer-and-window
|
||||||
"M-w" 'centaur-tabs--kill-this-buffer-dont-ask
|
"M-w" (lambda () (interactive) (kill-buffer (current-buffer)))
|
||||||
"M-S-w" 'kill-window)
|
"M-S-w" 'kill-window)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# GUI utils
|
# GUI utils
|
||||||
slack
|
slack
|
||||||
webcord
|
vesktop
|
||||||
(xfce.thunar.override {
|
(xfce.thunar.override {
|
||||||
thunarPlugins = with xfce; [
|
thunarPlugins = with xfce; [
|
||||||
thunar-media-tags-plugin
|
thunar-media-tags-plugin
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ let
|
|||||||
|
|
||||||
commonModules = [
|
commonModules = [
|
||||||
./nvim.nix
|
./nvim.nix
|
||||||
|
./nix.nix
|
||||||
{
|
{
|
||||||
_module.args = globalArgs;
|
_module.args = globalArgs;
|
||||||
}
|
}
|
||||||
@@ -11,7 +12,6 @@ let
|
|||||||
desktopModules = [
|
desktopModules = [
|
||||||
./xorg.nix
|
./xorg.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./nix.nix
|
|
||||||
./desktop-pkgs.nix
|
./desktop-pkgs.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowBroken = true;
|
allowBroken = true;
|
||||||
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
overlays = [
|
overlays = [
|
||||||
self.overlays.default
|
self.overlays.default
|
||||||
@@ -15,14 +16,12 @@
|
|||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
trusted-users = [ "root" "natto" ];
|
trusted-users = [ "root" "@wheel" ];
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://nix-gaming.cachix.org"
|
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
# "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
|
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -25,12 +25,13 @@
|
|||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/media/real" =
|
/* fileSystems."/media/real" =
|
||||||
{
|
{
|
||||||
device = "/dev/disk/by-uuid/8086be20-c770-46be-bd8f-5bd2d7735c7d";
|
device = "/dev/disk/by-uuid/8086be20-c770-46be-bd8f-5bd2d7735c7d";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress-force=zstd:3" ];
|
options = [ "compress-force=zstd:3" ];
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
/* fileSystems."/media/ntfs" =
|
/* fileSystems."/media/ntfs" =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,6 +24,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wireguard.interfaces.wg0 = with conf.network.addresses.wireguard.ips; {
|
||||||
|
ips = [ okina ];
|
||||||
|
listenPort = 17840;
|
||||||
|
privateKeyFile = "/var/secrets/wg.key";
|
||||||
|
peers = [{
|
||||||
|
#Oracle VM1
|
||||||
|
publicKey = "z0Y2VNEWcyVQVSqRHiwmiJ5/0MgSPM+HZfEcwIccSxM=";
|
||||||
|
allowedIPs = [ remilia ];
|
||||||
|
endpoint = "${conf.network.addresses.domain.natto}:17840";
|
||||||
|
persistentKeepalive = 25;
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
defaultGateway = "192.168.1.1";
|
defaultGateway = "192.168.1.1";
|
||||||
nameservers = [ "1.1.1.1" "8.8.8.8" ];
|
nameservers = [ "1.1.1.1" "8.8.8.8" ];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -65,13 +65,17 @@
|
|||||||
allowedIPs = [ ips.marisa ];
|
allowedIPs = [ ips.marisa ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
publicKey = "SqskEH7hz7Gv9ZS+FYLRFgKZyJCFbBFCyuvzBYnbfVU=";
|
publicKey = "oliAKHloLOulQrDwG+2NZIYg0sQAsuQ/q/lLkPCdcRE=";
|
||||||
allowedIPs = [ ips.satori ];
|
allowedIPs = [ ips.satori ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
publicKey = "IHYIan9Xq2PBTSzcMdHpzx4PM67l09WdsGa6s+siyH0=";
|
publicKey = "IHYIan9Xq2PBTSzcMdHpzx4PM67l09WdsGa6s+siyH0=";
|
||||||
allowedIPs = [ ips.hina ];
|
allowedIPs = [ ips.hina ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
publicKey = "BRdWQYPyfZeEWGtghhoYZf90nOsU/kXB3vOFJ6A17Ao=";
|
||||||
|
allowedIPs = [ ips.okina ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,7 +8,13 @@
|
|||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{
|
{
|
||||||
device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
|
device = "/dev/disk/by-uuid/59af143c-1a87-4654-9b31-7594ac8ba530";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/media/real" =
|
||||||
|
{
|
||||||
|
device = "/dev/disk/by-uuid/8086be20-c770-46be-bd8f-5bd2d7735c7d";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress-force=zstd:3" ];
|
options = [ "compress-force=zstd:3" ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user