Compare commits

...

11 Commits

14 changed files with 55 additions and 34 deletions

30
flake.lock generated
View File

@@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769524058, "lastModified": 1773025010,
"narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=", "narHash": "sha256-khlHllTsovXgT2GZ0WxT4+RvuMjNeR5OW0UYeEHPYQo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d", "rev": "7b9f7f88ab3b339f8142dc246445abb3c370d3d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -101,11 +101,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770318660, "lastModified": 1772985285,
"narHash": "sha256-yFVde8QZK7Dc0Xa8eQDsmxLX4NJNfL1NKfctSyiQgMY=", "narHash": "sha256-wEEmvfqJcl9J0wyMgMrj1TixOgInBW/6tLPhWGoZE3s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "471e6a065f9efed51488d7c51a9abbd387df91b8", "rev": "5be5d8245cbc7bc0c09fbb5f38f23f223c543f85",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -160,11 +160,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1769302137, "lastModified": 1772972630,
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=", "narHash": "sha256-mUJxsNOrBMNOUJzN0pfdVJ1r2pxeqm9gI/yIKXzVVbk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8", "rev": "3966ce987e1a9a164205ac8259a5fe8a64528f72",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -175,11 +175,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1770197578, "lastModified": 1772963539,
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -271,11 +271,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770145881, "lastModified": 1772944399,
"narHash": "sha256-ktjWTq+D5MTXQcL9N6cDZXUf9kX8JBLLBLT0ZyOTSYY=", "narHash": "sha256-xTzsSd3r5HBeufSZ3fszAn0ldfKctvsYG7tT2YJg5gY=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "17eea6f3816ba6568b8c81db8a4e6ca438b30b7c", "rev": "c8e69670b316d6788e435a3aa0bda74eb1b82cc0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -35,7 +35,7 @@
sessionVariables = { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
GO_PROXY="https://go.dogar.dev"; GOPROXY="https://go.dogar.dev,direct";
}; };
file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc"; "${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc";

View File

@@ -32,5 +32,8 @@
obsidian obsidian
yq yq
jq jq
opencode
ollama
postman
]; ];
} }

View File

@@ -21,6 +21,7 @@
initContent = '' initContent = ''
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
export PATH=/home/dogar/.opencode/bin:$PATH
''; '';
shellAliases = { shellAliases = {

View File

@@ -21,13 +21,6 @@
}; };
packages = with pkgs; [ packages = with pkgs; [
hyprshot
hyprlock
hypridle
hyprpolkitagent
waybar
wofi
mako
sassc sassc
nwg-look nwg-look
]; ];

View File

@@ -32,5 +32,7 @@
obsidian obsidian
yq yq
jq jq
postman
ollama
]; ];
} }

View File

@@ -7,7 +7,7 @@
}; };
# Create a symlink from ~/.config/nvim to the dotfiles directory # Create a symlink from ~/.config/nvim to the dotfiles directory
home.file.".config/nvim".source = home.file."${config.xdg.configHome}/nvim".source =
config.lib.file.mkOutOfStoreSymlink config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/git/nix-config/dotfiles/nvim"; "${config.home.homeDirectory}/git/nix-config/dotfiles/nvim";
} }

View File

@@ -35,6 +35,7 @@
sessionVariables = { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
GOPROXY="https://go.dogar.dev,direct";
}; };
file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc"; "${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc";

View File

@@ -53,6 +53,7 @@
trusted-users = ["@wheel"]; trusted-users = ["@wheel"];
substituters = ["https://hyprland.cachix.org" "https://nix.dogar.dev"]; substituters = ["https://hyprland.cachix.org" "https://nix.dogar.dev"];
trusted-substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
]; ];

View File

@@ -2,14 +2,20 @@
pkgs, pkgs,
... ...
}: { }: {
programs.hyprland = { programs = {
hyprland = {
enable = true; enable = true;
xwayland.enable = true;
systemd.setPath.enable = true;
}; };
hyprlock.enable = true;
};
services.hypridle.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
hyprshot hyprshot
hyprlock
hypridle
hyprpolkitagent hyprpolkitagent
mako mako
waybar waybar

View File

@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
obs-gstreamer
obs-vkcapture
];
};
}

View File

@@ -1,6 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
k3s k3s_1_35
cifs-utils cifs-utils
nfs-utils nfs-utils
]; ];

View File

@@ -50,6 +50,7 @@
"hoppscotch" "hoppscotch"
"hyprland" "hyprland"
"nix-ld" "nix-ld"
"obs"
"secure-boot" "secure-boot"
"yubikey" "yubikey"
]) ])
@@ -72,10 +73,10 @@
# #
# ========= Specialisations ======== # ========= Specialisations ========
# #
(map # (map
(s: lib.custom.relativeToRoot "hosts/common/specialisations/${s}.nix") [ # (s: lib.custom.relativeToRoot "hosts/common/specialisations/${s}.nix") [
"gaming" # "gaming"
]) # ])
]; ];
# #

View File

@@ -1 +0,0 @@
kernel-hacker!