Compare commits
No commits in common. "ff8ff81a4e5465d29350a126e2c601d9745e34be" and "64d0ab200264be49387aec211295d83c50ec8a8e" have entirely different histories.
ff8ff81a4e
...
64d0ab2002
16 changed files with 143 additions and 142 deletions
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/p1324gwzjhbv6njfdv7wdfswgsdkv6jl-home-manager-files/.config/kitty/diff.conf
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/p1324gwzjhbv6njfdv7wdfswgsdkv6jl-home-manager-files/.config/kitty/kitty.conf
|
|
||||||
8
config/kitty/kitty.conf
Normal file
8
config/kitty/kitty.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
background_opacity 0.3
|
||||||
|
enable_audio_bell no
|
||||||
|
enable_wayland_portal no
|
||||||
|
detect_system_theme no
|
||||||
|
# BEGIN_KITTY_THEME
|
||||||
|
# Rosé Pine Moon
|
||||||
|
#include current-theme.conf
|
||||||
|
# END_KITTY_THEME
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
background_opacity 0.3
|
|
||||||
enable_audio_bell no
|
|
||||||
enable_wayland_portal no
|
|
||||||
detect_system_theme no
|
|
||||||
# BEGIN_KITTY_THEME
|
|
||||||
# Rosé Pine Moon
|
|
||||||
#include current-theme.conf
|
|
||||||
# END_KITTY_THEME
|
|
||||||
21
flake.nix
21
flake.nix
|
|
@ -71,7 +71,7 @@
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
#./modules/home-manager/stylix.nix
|
./modules/home-manager/stylix.nix
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
@ -80,10 +80,7 @@
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
|
|
||||||
users.tulg = {
|
users.tulg = {
|
||||||
imports = [
|
imports = [./modules/home-manager/home.nix];
|
||||||
./modules/home-manager/home.nix
|
|
||||||
stylix.homeModules.stylix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -99,7 +96,7 @@
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
#./modules/home-manager/stylix.nix
|
./modules/home-manager/stylix.nix
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
@ -108,10 +105,7 @@
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
|
|
||||||
users.tulg = {
|
users.tulg = {
|
||||||
imports = [
|
imports = [./modules/home-manager/home.nix];
|
||||||
./modules/home-manager/home.nix
|
|
||||||
stylix.homeModules.stylix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -127,7 +121,7 @@
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
#./modules/home-manager/stylix.nix
|
./modules/home-manager/stylix.nix
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
@ -136,10 +130,7 @@
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
|
|
||||||
users.tulg = {
|
users.tulg = {
|
||||||
imports = [
|
imports = [./modules/home-manager/home.nix];
|
||||||
./modules/home-manager/home.nix
|
|
||||||
stylix.homeModules.stylix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp8s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp8s0.useDHCP = lib.mkDefault true;
|
||||||
fileSystems."/mnt/2tbhdd" = {
|
fileSystems."/mnt/2tbhdd" = {
|
||||||
device = "/dev/disk/by-uuid/4ec6fd72-a161-4944-8ad4-b727ea90d014";
|
device = "/dev/disk/by-uuid/29c2878a-6b8b-4719-addc-ed57dd647d7b";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,5 @@
|
||||||
./yazi.nix
|
./yazi.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./zellij.nix
|
./zellij.nix
|
||||||
./fastfetch.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,87 +0,0 @@
|
||||||
{
|
|
||||||
programs.fastfetch = {
|
|
||||||
enable = false;
|
|
||||||
settings = {
|
|
||||||
display = {
|
|
||||||
separator = " ";
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
{
|
|
||||||
type = "os";
|
|
||||||
key = " OS";
|
|
||||||
keyColor = "yellow";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "kernel";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "yellow";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "packages";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "yellow";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "shell";
|
|
||||||
key = "│ └";
|
|
||||||
keyColor = "yellow";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "wm";
|
|
||||||
key = " wm";
|
|
||||||
keyColor = "blue";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "lm";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "blue";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "terminal";
|
|
||||||
key = "│ └";
|
|
||||||
keyColor = "blue";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "host";
|
|
||||||
key = " HOST";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "cpu";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "gpu";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "disk";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "memory";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "swap";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "uptime";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "display";
|
|
||||||
key = "│ └";
|
|
||||||
keyColor = "green";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -14,13 +14,7 @@
|
||||||
PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]\$ "
|
PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]\$ "
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
background_opacity 0.3
|
|
||||||
enable_audio_bell no
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -28,6 +22,90 @@
|
||||||
user.email = "tulg@protonmail.ch";
|
user.email = "tulg@protonmail.ch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
programs.fastfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
display = {
|
||||||
|
separator = " ";
|
||||||
|
};
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
type = "os";
|
||||||
|
key = " OS";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "kernel";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "packages";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "shell";
|
||||||
|
key = "│ └";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "wm";
|
||||||
|
key = " wm";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "lm";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "terminal";
|
||||||
|
key = "│ └";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "host";
|
||||||
|
key = " HOST";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "cpu";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "gpu";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "disk";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "memory";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "swap";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "uptime";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "display";
|
||||||
|
key = "│ └";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
theme = "rose-pine";
|
theme = "rose-pine";
|
||||||
pane_frames = false;
|
pane_frames = false;
|
||||||
show_startup_tips = false;
|
default_layout = "compact";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ in {
|
||||||
source = link "${dots}/waybar";
|
source = link "${dots}/waybar";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
# xdg.configFile."kitty" = {
|
xdg.configFile."kitty" = {
|
||||||
# source = link "${dots}/kitty";
|
source = link "${dots}/kitty";
|
||||||
# recursive = true;
|
recursive = true;
|
||||||
# };
|
};
|
||||||
xdg.configFile."wofi" = {
|
xdg.configFile."wofi" = {
|
||||||
source = link "${dots}/wofi";
|
source = link "${dots}/wofi";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
@ -22,4 +22,8 @@ in {
|
||||||
source = link "${dots}/mako";
|
source = link "${dots}/mako";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
xdg.configFile."zellij" = {
|
||||||
|
source = link "${dots}/zellij";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
pkgs.vscode-extensions.jnoortheen.nix-ide
|
pkgs.vscode-extensions.jnoortheen.nix-ide
|
||||||
pkgs.vscode-extensions.leonardssh.vscord
|
pkgs.vscode-extensions.leonardssh.vscord
|
||||||
];
|
];
|
||||||
profiles.default.userSettings = {
|
userSettings = {
|
||||||
"nix.formatterPath" = "alejandra";
|
"nix.formatterPath" = "alejandra";
|
||||||
"nix.extraOptions" = ''
|
"nix.extraOptions" = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
./cli/default.nix
|
./cli/default.nix
|
||||||
./desktop/default.nix
|
./desktop/default.nix
|
||||||
./pkgs.nix
|
./pkgs.nix
|
||||||
./stylix.nix
|
|
||||||
];
|
];
|
||||||
# Home Manager settings
|
# Home Manager settings
|
||||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
restic
|
restic
|
||||||
rose-pine-gtk-theme
|
rose-pine-gtk-theme
|
||||||
alejandra
|
alejandra
|
||||||
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
arc-theme
|
arc-theme
|
||||||
cliphist
|
cliphist
|
||||||
|
|
@ -19,7 +20,7 @@
|
||||||
mpv
|
mpv
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
pkgs.looking-glass-client
|
pkgs.looking-glass-client
|
||||||
fastfetch
|
|
||||||
btop
|
btop
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
strawberry
|
strawberry
|
||||||
|
|
|
||||||
|
|
@ -5,27 +5,34 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
programs.kitty.font.name = "Fira Code";
|
fonts.packages = with pkgs; [
|
||||||
|
# noto-fonts-color-emoji
|
||||||
|
fira
|
||||||
|
fira-sans
|
||||||
|
fira-code
|
||||||
|
dejavu_fonts
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.iosevka
|
||||||
|
];
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
targets.firefox.enable = false;
|
|
||||||
targets.zen-browser.enable = false;
|
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.fira;
|
package = pkgs.fira;
|
||||||
name = "Fira Sans";
|
name = "Fira Sans Regular";
|
||||||
};
|
};
|
||||||
|
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.fira;
|
package = pkgs.fira;
|
||||||
name = "Fira Sans";
|
name = "Fira Sans Regular";
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.fira-code;
|
package = pkgs.fira;
|
||||||
name = "Fira Code";
|
name = "Fira Sans Regular";
|
||||||
};
|
};
|
||||||
|
|
||||||
emoji = {
|
emoji = {
|
||||||
|
|
@ -40,5 +47,13 @@
|
||||||
popups = 10;
|
popups = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# targets.rofi.enable = false;
|
||||||
|
# image = ../../assets/Shogoki.png;
|
||||||
|
|
||||||
|
# opacity = {
|
||||||
|
# desktop = 0.5;
|
||||||
|
# terminal = 0.9;
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
users.groups.media.gid = 169;
|
|
||||||
users.users.tulg = {
|
users.users.tulg = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Tulga";
|
description = "Tulga";
|
||||||
|
|
@ -11,7 +10,6 @@
|
||||||
"wheel"
|
"wheel"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"kvm"
|
"kvm"
|
||||||
"media"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
users.users."root".openssh.authorizedKeys.keys = [
|
users.users."root".openssh.authorizedKeys.keys = [
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
fileSystems."/export/share" = {
|
fileSystems."/export/share" = {
|
||||||
device = "/mnt/2tbhdd";
|
device = "/mnt/2tbhdd";
|
||||||
fsType = "none";
|
fsType = "nfs";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
};
|
};
|
||||||
services.nfs.server = {
|
services.nfs.server = {
|
||||||
|
|
@ -12,9 +12,13 @@
|
||||||
statdPort = 4000;
|
statdPort = 4000;
|
||||||
extraNfsdConfig = '''';
|
extraNfsdConfig = '''';
|
||||||
exports = ''
|
exports = ''
|
||||||
/export/share *(rw,sync,no_subtree_check)
|
/export/share *(rw,sync,no_subtree_check,all_squash,insecure,anonuid=1000,anongid=100)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
users.users.tulg = {
|
||||||
|
createHome = false;
|
||||||
|
shell = "/run/current-system/sw/bin/nologin";
|
||||||
|
};
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# for NFSv3; view with `rpcinfo -p`
|
# for NFSv3; view with `rpcinfo -p`
|
||||||
|
|
@ -25,11 +29,12 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
shares.share = {
|
shares.share = {
|
||||||
path = "/mnt/2tbhdd/nfs";
|
path = "/mnt/2tbhdd/smb/";
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
writable = "yes";
|
writable = "yes";
|
||||||
"guest ok" = "yes";
|
"guest ok" = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
|
"force user" = "nobody";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue