Compare commits

...

4 Commits

Author SHA1 Message Date
8b755657c6 System update 2024-11-14 17:58:07 +01:00
e4697e6411 cleanup fixes 2024-11-14 17:57:49 +01:00
89c29f05e4 oh-my-posh, code, packages 2024-11-14 17:57:21 +01:00
7c533d7c87 disable gnome 2024-11-14 17:56:54 +01:00
9 changed files with 72 additions and 65 deletions

View File

@ -20,11 +20,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730968822, "lastModified": 1731496216,
"narHash": "sha256-NocDjINsh6ismkhb0Xr6xPRksmhuB2WGf8ZmXMhxu7Y=", "narHash": "sha256-nlQrNN+tmJ+iP6Ck/czwZI0Hxz3oNvUyGkVruxJwgwA=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "a49bc3583ff223f426cb3526fdaa4bcaa247ec14", "rev": "3b00e96f90cb0040de6d88ad99bf5f4d443f0c59",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -108,11 +108,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1731470588, "lastModified": 1731556998,
"narHash": "sha256-radsH6TieMS9S2+NQgWOV+Md6/Kz7lD+Q1GEmIxvjCY=", "narHash": "sha256-/x/j+JHTMVFLWDpWClFw3IpzJiVkHTWL5z138Jj2ec4=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "6cfc4ff20b755e675848c0417da3017a92a206e1", "rev": "47a8f584cbd9f26ca18e905ec37799838babcc29",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -252,11 +252,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1731235328, "lastModified": 1731535640,
"narHash": "sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs=", "narHash": "sha256-2EckCJn4wxran/TsRiCOFcmVpep2m9EBKl99NBh2GnM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "60bb110917844d354f3c18e05450606a435d2d10", "rev": "35b055009afd0107b69c286fca34d2ad98940d57",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -329,11 +329,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1731425185, "lastModified": 1731526492,
"narHash": "sha256-/v5mz2LKOsBjwW9M+2kg0jVhpkFNIAvM/fUDy3OiOj4=", "narHash": "sha256-tzWLCOcIxvJvxB25kC0Q371pc5wBBzbzwSlSNc4L8gw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "bb160cfe377da2d2b2e4431a3399fa60114f3911", "rev": "3fb47372b79265ebdabeeefdad10359d5b18377a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -408,11 +408,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1731163338, "lastModified": 1731518387,
"narHash": "sha256-Qflei0JBeqQ0c8jxA8e982xAxJvfMwfx4Aci2eJi84s=", "narHash": "sha256-aZZw1ZvTMLkcA6udlvkA3hrCkuipoWLy8s/JNnIclxY=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "60d3dece30f98e8ad85131829c8529950630d6bc", "rev": "315fba5d21d87ddb756d4bebdb49f99d86b0ffe8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -448,11 +448,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1730785428, "lastModified": 1731139594,
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=", "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7", "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -480,11 +480,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1731139594, "lastModified": 1731319897,
"narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=", "narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2", "rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -537,11 +537,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1730814269, "lastModified": 1731363552,
"narHash": "sha256-fWPHyhYE6xvMI1eGY3pwBTq85wcy1YXqdzTZF+06nOg=", "narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "d70155fdc00df4628446352fc58adc640cd705c2", "rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -577,11 +577,11 @@
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux"
}, },
"locked": { "locked": {
"lastModified": 1731090365, "lastModified": 1731577695,
"narHash": "sha256-ti3gXhgVpIUL/7w6zDJuH+hOnyTZqxrIX/yYqALmiEI=", "narHash": "sha256-ohxX2gG7zDWIA3slEbiSyAVSiO98clCoL+CmiEiYwVU=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "6863412636c8f2cb3b7360f747fbd020fbfddf68", "rev": "e0a278871b63b1800ccdda568861b5324dd93797",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -110,25 +110,25 @@
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
services.xserver.desktopManager.gnome.enable = true; #services.xserver.desktopManager.gnome.enable = true;
environment.gnome.excludePackages = with pkgs; [ #environment.gnome.excludePackages = with pkgs; [
gnome-tour # gnome-tour
gnome-connections # gnome-connections
epiphany # web browser # epiphany # web browser
geary # email reader. Up to 24.05. Starting from 24.11 the package name is just geary. # geary # email reader. Up to 24.05. Starting from 24.11 the package name is just geary.
#evince # document viewer # #evince # document viewer
gnome-weather # gnome-weather
gnome-contacts # gnome-contacts
gnome-maps # gnome-maps
gnome-logs # gnome-logs
gnome-music # gnome-music
gnome-system-monitor # gnome-system-monitor
gnome-text-editor # gnome-text-editor
yelp # yelp
totem # totem
snapshot # snapshot
seahorse # seahorse
]; #];
environment.plasma6.excludePackages = with pkgs.kdePackages; [ environment.plasma6.excludePackages = with pkgs.kdePackages; [
ark ark
@ -188,6 +188,10 @@
}; };
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
services.xserver = {
xkb.layout = "us,cz";
xkb.options = "grp:win_space_toggle";
};
hardware.nvidia = { hardware.nvidia = {
# Modesetting is required. # Modesetting is required.
@ -227,12 +231,6 @@
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.stable;
}; };
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
};
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;

View File

@ -1,16 +1,6 @@
{...}: { {...}: {
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "foglar"; home.username = "foglar";
home.homeDirectory = "/home/foglar"; home.homeDirectory = "/home/foglar";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing. home.stateVersion = "24.05"; # Please read the comment before changing.
imports = [ imports = [
@ -60,7 +50,12 @@
".config/hypr/mocha.conf".source = ../config/mocha.conf; ".config/hypr/mocha.conf".source = ../config/mocha.conf;
".config/hypr/hypridle.conf".source = ../config/hypridle.conf; ".config/hypr/hypridle.conf".source = ../config/hypridle.conf;
".config/dolphinrc".source = ../config/dolphinrc; ".config/dolphinrc".source = ../config/dolphinrc;
".prettierrc".source = ../config/.prettierrc; ".prettierrc".text = ''
{
"tabWidth": 4,
"useTabs": true
}
'';
# # You can also set the file content immediately. # # You can also set the file content immediately.
# ".gradle/gradle.properties".text = '' # ".gradle/gradle.properties".text = ''

View File

@ -18,6 +18,8 @@
vesktop vesktop
ferdium ferdium
gnome.simple-scan
stellarium stellarium
libreoffice libreoffice
localsend localsend

View File

@ -12,6 +12,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
vitetris vitetris
steam steam
heroic
wine wine
(writeShellScriptBin "nvidia-offload" '' (writeShellScriptBin "nvidia-offload" ''

View File

@ -27,6 +27,10 @@
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"discord" "discord"
"spotify" "spotify"
"webstorm"
"pycharm"
"pycharm-professional"
"steam" "steam"
"steam-unwrapped" "steam-unwrapped"

View File

@ -12,7 +12,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
vscode vscode
python3 python3
dotnet-sdk_8
]; ];
programs.vscode = { programs.vscode = {
@ -43,6 +42,9 @@
"[python]" = { "[python]" = {
"editor.defaultFormatter" = "ms-python.black-formatter"; "editor.defaultFormatter" = "ms-python.black-formatter";
}; };
"[html]" = {
"editor.defaultFormatter" = "esbenp.prettier-vscode";
};
"python.defaultInterpreterPath" = "${pkgs.python3}"; "python.defaultInterpreterPath" = "${pkgs.python3}";
"nix.serverPath" = "nixd"; "nix.serverPath" = "nixd";
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;

View File

@ -26,6 +26,11 @@
go go
jq jq
conda conda
jetbrains.webstorm
jetbrains.pycharm-professional
dotnet-sdk_8
nodejs
pnpm
]; ];
}; };
} }

View File

@ -47,7 +47,7 @@
"display_mode" = "files"; "display_mode" = "files";
}; };
"style" = "plain"; "style" = "plain";
"template" = "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</> {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>"; "template" = "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</> {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>";
} }
{ {
"type" = "go"; "type" = "go";