mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
update config
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
# Fixes black screen on Jellyfin
|
# Fixes black screen on Jellyfin
|
||||||
# https://github.com/jellyfin/jellyfin-media-player/issues/165#issuecomment-1569842393
|
# https://github.com/jellyfin/jellyfin-media-player/issues/165#issuecomment-1569842393
|
||||||
"QT_QPA_PLATFORM,xcb"
|
"QT_QPA_PLATFORM,xcb"
|
||||||
# Fixes dialogs randomly closing again in IntelliJ
|
# Potentially (?) fixes dialogs randomly closing again in IntelliJ
|
||||||
# https://github.com/hyprwm/Hyprland/issues/1947
|
# https://github.com/hyprwm/Hyprland/issues/1947
|
||||||
"_JAVA_AWT_WM_NOREPARENTING=1"
|
"_JAVA_AWT_WM_NOREPARENTING=1"
|
||||||
];
|
];
|
||||||
@@ -22,6 +22,9 @@
|
|||||||
"ags"
|
"ags"
|
||||||
"swww init"
|
"swww init"
|
||||||
"swww img ~/Pictures/Wallpapers/wallpaper.jpg"
|
"swww img ~/Pictures/Wallpapers/wallpaper.jpg"
|
||||||
|
"gnome-keyring-daemon --start --components=secrets"
|
||||||
|
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||||
|
|
||||||
];
|
];
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 4;
|
gaps_in = 4;
|
||||||
@@ -37,6 +40,9 @@
|
|||||||
dwindle.pseudotile = true;
|
dwindle.pseudotile = true;
|
||||||
input = {
|
input = {
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
|
kb_layout = "us";
|
||||||
|
kb_variant = "altgr-intl";
|
||||||
|
numlock_by_default = true;
|
||||||
};
|
};
|
||||||
bind = import ./keybinds.nix;
|
bind = import ./keybinds.nix;
|
||||||
bindm = import ./mousebinds.nix;
|
bindm = import ./mousebinds.nix;
|
||||||
@@ -66,6 +72,7 @@
|
|||||||
# IntelliJ focus fixes
|
# IntelliJ focus fixes
|
||||||
"windowdance,class:^(jetbrains-.*)$"
|
"windowdance,class:^(jetbrains-.*)$"
|
||||||
"dimaround,class:^(jetbrains-.*)$,floating:1,title:^(?!win)"
|
"dimaround,class:^(jetbrains-.*)$,floating:1,title:^(?!win)"
|
||||||
|
"center,class:^(jetbrains-.*)$,floating:1,title:^(?!win)"
|
||||||
"noanim,class:^(jetbrains-.*)$,title:^(win.*)$"
|
"noanim,class:^(jetbrains-.*)$,title:^(win.*)$"
|
||||||
"noinitialfocus,class:^(jetbrains-.*)$,title:^(win.*)$"
|
"noinitialfocus,class:^(jetbrains-.*)$,title:^(win.*)$"
|
||||||
"rounding 0,class:^(jetbrains-.*)$,title:^(win.*)$"
|
"rounding 0,class:^(jetbrains-.*)$,title:^(win.*)$"
|
||||||
@@ -75,8 +82,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.dunst = import ./dunst.nix;
|
|
||||||
|
|
||||||
programs.ags = {
|
programs.ags = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configDir = ./ags;
|
configDir = ./ags;
|
||||||
@@ -85,7 +90,6 @@
|
|||||||
# programs.alacritty.enable = true;
|
# programs.alacritty.enable = true;
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
programs.foot = import ./foot.nix;
|
programs.foot = import ./foot.nix;
|
||||||
# programs.waybar = import ./waybar.nix;
|
|
||||||
programs.wofi = import ./wofi.nix;
|
programs.wofi = import ./wofi.nix;
|
||||||
programs.swaylock = import ./swaylock.nix;
|
programs.swaylock = import ./swaylock.nix;
|
||||||
|
|
||||||
@@ -99,6 +103,7 @@
|
|||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
polkit_gnome
|
||||||
/* TODO: (flameshot.overrideAttrs(prev: {
|
/* TODO: (flameshot.overrideAttrs(prev: {
|
||||||
nativeBuildInputs = prev.nativeBuildInputs ++ [ git grim ];
|
nativeBuildInputs = prev.nativeBuildInputs ++ [ git grim ];
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@@ -106,7 +111,6 @@
|
|||||||
"-DUSE_WAYLAND_GRIM=true"
|
"-DUSE_WAYLAND_GRIM=true"
|
||||||
];
|
];
|
||||||
}))*/
|
}))*/
|
||||||
# wttrbar
|
|
||||||
swww
|
swww
|
||||||
# ags
|
# ags
|
||||||
glib
|
glib
|
||||||
|
|||||||
37
flake.lock
generated
37
flake.lock
generated
@@ -1,5 +1,23 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"ags": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1698528149,
|
||||||
|
"narHash": "sha256-qxvk+zKQGCrpRjBmMBwm+5+UiciW6qerSGGoZThiai0=",
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"rev": "96f1dc8f126cd4785fd49bcac5b257d407beb2ca",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -21,6 +39,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1693471703,
|
||||||
|
"narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1698318101,
|
"lastModified": 1698318101,
|
||||||
"narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
|
"narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
|
||||||
@@ -38,8 +72,9 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"ags": "ags",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs_2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -6,9 +6,13 @@
|
|||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ags = {
|
||||||
|
url = "github:Aylur/ags";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {nixpkgs, home-manager, ...}:
|
outputs = {nixpkgs, home-manager, ags, ...}:
|
||||||
let
|
let
|
||||||
username = "theaninova";
|
username = "theaninova";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -30,6 +34,7 @@
|
|||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
ags.homeManagerModules.default
|
||||||
home
|
home
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
5
home.nix
5
home.nix
@@ -10,6 +10,11 @@ in {
|
|||||||
shellAliases = {
|
shellAliases = {
|
||||||
reload-home-manager-config = "home-manager switch --flake ${homeDirectory}/.config/home-manager";
|
reload-home-manager-config = "home-manager switch --flake ${homeDirectory}/.config/home-manager";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
keyboard = {
|
||||||
|
layout = "us";
|
||||||
|
variant = "altgr-intl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
makemkv
|
makemkv
|
||||||
handbrake
|
handbrake
|
||||||
metadata-cleaner
|
metadata-cleaner
|
||||||
|
bitwarden
|
||||||
|
|
||||||
# chat apps
|
# chat apps
|
||||||
(import ./packages/threema-desktop.nix { inherit pkgs; })
|
(import ./packages/threema-desktop.nix { inherit pkgs; })
|
||||||
@@ -49,4 +50,7 @@
|
|||||||
bottles
|
bottles
|
||||||
protontricks
|
protontricks
|
||||||
mangohud
|
mangohud
|
||||||
|
|
||||||
|
# utils
|
||||||
|
neofetch
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user