Compare commits

...

4 Commits

Author SHA1 Message Date
3747184c32 cleanup, update, fixes 2024-12-14 11:59:57 +01:00
4f6a1ccce2 leanix configuration 2024-12-14 11:57:41 +01:00
d844369b46 System update 2024-12-13 22:07:03 +01:00
ea0b86d53b spotify 2024-12-09 19:14:34 +01:00
18 changed files with 666 additions and 64 deletions

View File

@ -108,11 +108,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1733544201, "lastModified": 1734062601,
"narHash": "sha256-/1bri4+nMvCxs0AZbTrB/tSh2kqDfQolteR6pn0bacM=", "narHash": "sha256-xdFJkNGNMEJGLujqok0VqZV+gpbQrnHmKeQwpYM7nwE=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "12fc49ae7ec8483554863699a081b5baf54617d0", "rev": "f7455e6750b5691e7357908676c810cb4e285dc3",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -139,6 +139,22 @@
} }
}, },
"flake-compat_2": { "flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_3": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1696426674,
@ -252,11 +268,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733484277, "lastModified": 1734043726,
"narHash": "sha256-i5ay20XsvpW91N4URET/nOc0VQWOAd4c4vbqYtcH8Rc=", "narHash": "sha256-e9YAMReFV1fDPcZLFC2pa4k/8TloSXeX0z2VysNMAoA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a", "rev": "3066cc58f552421a2c5414e78407fa5603405b1e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -360,11 +376,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1733496302, "lastModified": 1734005819,
"narHash": "sha256-DSSydpXuUIf5dEYVpQg6IVjXbPcOUR1JWP/fycU9Fys=", "narHash": "sha256-hbA0aFybdxjpu4Tr4xH57mOLjRMqcop6iBVA0ZFIIx4=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "b1e5cc66bdb20b002c93479490c3a317552210b3", "rev": "aefaeedf5e3f773c923373795267c1633141566c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -513,11 +529,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733143273, "lastModified": 1733733360,
"narHash": "sha256-pVogdQb09YrbVyFrzadfF1fseT6W2We4lNKRvWPPHsY=", "narHash": "sha256-q6pp7uqkAxbsENjJr2U7vPVEoLX0m7ouCTBg/0J5v3g=",
"owner": "Mic92", "owner": "Mic92",
"repo": "nix-ld", "repo": "nix-ld",
"rev": "1e17dfe486a0c4dc245f5177a7328930b8392b34", "rev": "0c74021f8e3779a68684e893a5fb9a72078d5e18",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -560,27 +576,27 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1733384649, "lastModified": 1733808091,
"narHash": "sha256-K5DJ2LpPqht7K76bsxetI+YHhGGRyVteTPRQaIIKJpw=", "narHash": "sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "190c31a89e5eec80dd6604d7f9e5af3802a58a13", "rev": "a0f3e10d94359665dba45b71b4227b0aeb851f8e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-24.05", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1733392399, "lastModified": 1733940404,
"narHash": "sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG+cBns=", "narHash": "sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d0797a04b81caeae77bcff10a9dde78bc17f5661", "rev": "5d67ea6b4b63378b9c13be21e2ec9d1afc921713",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -606,6 +622,29 @@
"type": "github" "type": "github"
} }
}, },
"plasma-manager": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1733858086,
"narHash": "sha256-h2BDIDKiqgMpA6E+mu0RgMGy3FeM6k+EuJ9xgOQ1+zw=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "7e2010249529931a3848054d5ff0dbf24675ab68",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "plasma-manager",
"type": "github"
}
},
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -638,16 +677,39 @@
"nix-ld": "nix-ld", "nix-ld": "nix-ld",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable_2", "nixpkgs-stable": "nixpkgs-stable_2",
"plasma-manager": "plasma-manager",
"spicetify-nix": "spicetify-nix",
"stylix": "stylix" "stylix": "stylix"
} }
}, },
"spicetify-nix": {
"inputs": {
"flake-compat": "flake-compat_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1734063436,
"narHash": "sha256-wE1sIAnsjWbyXXjwC/+oxSFXFDCROiwLY1pSQ7pU9js=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "7981c1e87aa1adeec524524db52f75bf6598fb55",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "spicetify-nix",
"type": "github"
}
},
"stylix": { "stylix": {
"inputs": { "inputs": {
"base16": "base16", "base16": "base16",
"base16-fish": "base16-fish", "base16-fish": "base16-fish",
"base16-helix": "base16-helix", "base16-helix": "base16-helix",
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_3",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
@ -658,11 +720,11 @@
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux"
}, },
"locked": { "locked": {
"lastModified": 1733510476, "lastModified": 1734012548,
"narHash": "sha256-RH/8yIuo+fNLCjQ6e1mnXwmmxymjvfWC9JcbDuIA8TM=", "narHash": "sha256-72z7fZNeFtG+UWmbMn5by4K47HHBxk3JtV91D/qZEhg=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "e309d64fe7f203274a7913e1d2b74307d15ba122", "rev": "ccee633284cde8a9f825004e00dd84a31b10e6c6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -3,32 +3,31 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
nix-ld.url = "github:Mic92/nix-ld"; stylix.url = "github:danth/stylix";
nix-ld.inputs.nixpkgs.follows = "nixpkgs"; hyprland.url = "github:hyprwm/Hyprland";
hyprland = { spicetify-nix = {
url = "github:hyprwm/Hyprland"; url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
}; };
#hyprland-plugins = { nix-ld = {
# url = "github:hyprwm/hyprland-plugins"; url = "github:Mic92/nix-ld";
# inputs.hyprland.follows = "hyprland"; inputs.nixpkgs.follows = "nixpkgs";
#}; };
#Hyprspace = {
# url = "github:KZDKM/Hyprspace";
# # Hyprspace uses latest Hyprland. We declare this to keep them in sync.
# inputs.hyprland.follows = "hyprland";
#};
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
stylix.url = "github:danth/stylix"; plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
firefox-addons = { firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
@ -71,10 +70,20 @@
modules = [ modules = [
./nixos/configuration.nix ./nixos/configuration.nix
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.nix-ld.nixosModules.nix-ld inputs.nix-ld.nixosModules.nix-ld
]; ];
}; };
leanix = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system pkgs-stable;
};
modules = [
./leanix/configuration.nix
];
};
}; };
}; };
} }

101
leanix/configuration.nix Normal file
View File

@ -0,0 +1,101 @@
{
inputs,
lib,
pkgs,
pkgs-stable,
...
}: {
imports = [
./hardware-configuration.nix
../nixos/system/packages.nix
../nixos/system/system.nix
inputs.home-manager.nixosModules.home-manager
];
nix.settings.experimental-features = ["nix-command" "flakes"];
inputs.home-manager = {
extraSpecialArgs = {inherit inputs pkgs pkgs-stable;};
backupFileExtension = "backup";
users = {
konsta = import ./home.nix;
};
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
environment.sessionVariables = {
FLAKE = "/home/konsta/.dotfiles";
DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
};
users.users.konsta = {
isNormalUser = true;
description = "konsta";
extraGroups = ["wheel"];
};
sys = {
audio.enable = true;
desktop = {
plasma.enable = false;
gnome.enable = true;
hyprland.enable = false;
};
fonts.packages = true;
locales.enable = true;
network.enable = true;
bluetooth.enable = true;
nvidia.enable = false;
printing.enable = false;
sddm.enable = false;
style.enable = true;
};
package = {
docker.enable = false;
steam.enable = false;
proxychains.enable = false;
tor.enable = false;
virt-manager.enable = false;
};
desktop.steamdeck.enable = false;
programs.kdeconnect.enable = true;
programs.wireshark.enable = false;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment?
}

26
leanix/home.nix Normal file
View File

@ -0,0 +1,26 @@
{lib, ...}: {
home.username = "konsta";
home.homeDirectory = "/home/konsta";
home.stateVersion = "24.11"; # Please read the comment before changing.
imports = [
../nixos/packages/packages.nix
];
program.firefox.enable = lib.mkDefault true;
group.terminal_tools.enable = true;
program = {
kitty.enable = lib.mkDefault false;
tmux.enable = lib.mkDefault false;
zoxide.enable = lib.mkDefault false;
};
sh.bash = {
enable = lib.mkDefault true;
oh-my-posh.enable = lib.mkDefault false;
};
programs.home-manager.enable = true;
}

View File

@ -15,19 +15,19 @@
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
programs.nix-ld.dev.enable = true; programs.nix-ld.dev.enable = true;
# Bootloader.
boot.loader.systemd-boot.enable = true;
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs pkgs pkgs-stable username;}; extraSpecialArgs = {inherit inputs pkgs pkgs-stable username;};
backupFileExtension = "backup"; backupFileExtension = "backup";
users = { users = {
${username} = import ./home.nix; ${username} = import ./home.nix;
}; };
sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
}; };
# Bootloader.
boot.loader.systemd-boot.enable = true;
environment.sessionVariables = { environment.sessionVariables = {
EDITOR = "nvim";
FLAKE = "/home/${username}/dotfiles"; FLAKE = "/home/${username}/dotfiles";
DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf"; DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./hyprland/hyprland.nix ./hyprland/hyprland.nix
./kde/kde.nix
]; ];
} }

View File

@ -36,7 +36,7 @@
pkgs.toybox pkgs.toybox
]; ];
environment.sessionVariables = { home.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1"; WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
}; };
@ -113,7 +113,7 @@
"XDG_SESSION_TYPE,wayland" "XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland" "XDG_SESSION_DESKTOP,Hyprland"
"QT_QPA_PLATFORM,wayland;xcb" "QT_QPA_PLATFORM,wayland;xcb"
"QT_QPA_PLATFORMTHEME,qt6ct" #"QT_QPA_PLATFORMTHEME,qt6ct"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1" "QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"QT_AUTO_SCREEN_SCALE_FACTOR,1" "QT_AUTO_SCREEN_SCALE_FACTOR,1"
"MOZ_ENABLE_WAYLAND,1" "MOZ_ENABLE_WAYLAND,1"
@ -128,7 +128,7 @@
"discord --start-minimized" "discord --start-minimized"
"vesktop --start-minimized" "vesktop --start-minimized"
"${pkgs.ferdium}/bin/ferdium --minimized" "${pkgs.ferdium}/bin/ferdium --minimized"
"${pkgs.plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator" "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator"
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
#"swww-daemon --format xrgb" #"swww-daemon --format xrgb"

View File

@ -82,6 +82,6 @@
]) ])
++ (with pkgs-stable; [ ++ (with pkgs-stable; [
pavucontrol pavucontrol
gnome.nautilus nautilus
]); ]);
} }

View File

@ -0,0 +1,340 @@
{...}: {
programs.plasma = {
enable = true;
shortcuts = {
"ActivityManager"."switch-to-activity-5d67a9cf-0b1a-40b0-a629-e97ffd67fb5d" = [];
"KDE Keyboard Layout Switcher"."Switch keyboard layout to Czech" = [];
"KDE Keyboard Layout Switcher"."Switch keyboard layout to English (US)" = [];
"KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = "Meta+Alt+L";
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Alt+Shift,Meta+Alt+K,Switch to Next Keyboard Layout";
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
"kcm_touchpad"."Disable Touchpad" = "Touchpad Off";
"kcm_touchpad"."Enable Touchpad" = "Touchpad On";
"kcm_touchpad"."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku,Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"];
"kmix"."decrease_microphone_volume" = "Microphone Volume Down";
"kmix"."decrease_volume" = "Volume Down";
"kmix"."decrease_volume_small" = "Shift+Volume Down";
"kmix"."increase_microphone_volume" = "Microphone Volume Up";
"kmix"."increase_volume" = "Volume Up";
"kmix"."increase_volume_small" = "Shift+Volume Up";
"kmix"."mic_mute" = ["Microphone Mute" "Meta+Volume Mute,Microphone Mute" "Meta+Volume Mute,Mute Microphone"];
"kmix"."mute" = "Volume Mute";
"ksmserver"."Halt Without Confirmation" = "none,,Shut Down Without Confirmation";
"ksmserver"."Lock Session" = ["Screensaver,Meta+L" "Screensaver,Lock Session"];
"ksmserver"."Log Out" = "Ctrl+Alt+Del";
"ksmserver"."Log Out Without Confirmation" = "none,,Log Out Without Confirmation";
"ksmserver"."LogOut" = "none,,Log Out";
"ksmserver"."Reboot" = "none,,Reboot";
"ksmserver"."Reboot Without Confirmation" = "none,,Reboot Without Confirmation";
"ksmserver"."Shut Down" = "none,,Shut Down";
"kwin"."Activate Window Demanding Attention" = "Meta+Ctrl+A";
"kwin"."Cycle Overview" = [];
"kwin"."Cycle Overview Opposite" = [];
"kwin"."Decrease Opacity" = "none,,Decrease Opacity of Active Window by 5%";
"kwin"."Edit Tiles" = "none,Meta+T,Toggle Tiles Editor";
"kwin"."Expose" = "Ctrl+F9";
"kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C),Ctrl+F10" "Launch (C),Toggle Present Windows (All desktops)"];
"kwin"."ExposeClass" = "Ctrl+F7";
"kwin"."ExposeClassCurrentDesktop" = [];
"kwin"."Grid View" = "none,Meta+G,Toggle Grid View";
"kwin"."Increase Opacity" = "none,,Increase Opacity of Active Window by 5%";
"kwin"."Kill Window" = "Meta+Ctrl+Esc";
"kwin"."Move Tablet to Next Output" = [];
"kwin"."MoveMouseToCenter" = "Meta+F6";
"kwin"."MoveMouseToFocus" = "Meta+F5";
"kwin"."MoveZoomDown" = [];
"kwin"."MoveZoomLeft" = [];
"kwin"."MoveZoomRight" = [];
"kwin"."MoveZoomUp" = [];
"kwin"."Overview" = "Meta+W";
"kwin"."PoloniumCycleEngine" = "Meta+|,none,Polonium: Cycle Engine";
"kwin"."PoloniumFocusAbove" = "Meta+K,none,Polonium: Focus Above";
"kwin"."PoloniumFocusBelow" = "Meta+J,none,Polonium: Focus Below";
"kwin"."PoloniumFocusLeft" = "Meta+H,none,Polonium: Focus Left";
"kwin"."PoloniumFocusRight" = [];
"kwin"."PoloniumInsertAbove" = "Meta+Shift+K,none,Polonium: Insert Above";
"kwin"."PoloniumInsertBelow" = "Meta+Shift+J,none,Polonium: Insert Below";
"kwin"."PoloniumInsertLeft" = "Meta+Shift+H,none,Polonium: Insert Left";
"kwin"."PoloniumInsertRight" = "Meta+Shift+L,none,Polonium: Insert Right";
"kwin"."PoloniumOpenSettings" = "Meta+\\\\,none,Polonium: Open Settings Dialog";
"kwin"."PoloniumResizeAbove" = "Meta+Ctrl+K,none,Polonium: Resize Above";
"kwin"."PoloniumResizeBelow" = "Meta+Ctrl+J,none,Polonium: Resize Below";
"kwin"."PoloniumResizeLeft" = "Meta+Ctrl+H,none,Polonium: Resize Left";
"kwin"."PoloniumResizeRight" = "Meta+Ctrl+L,none,Polonium: Resize Right";
"kwin"."PoloniumRetileWindow" = "Meta+Shift+Space,none,Polonium: Retile Window";
"kwin"."PoloniumSwitchBTree" = [];
"kwin"."PoloniumSwitchHalf" = [];
"kwin"."PoloniumSwitchKwin" = [];
"kwin"."PoloniumSwitchMonocle" = [];
"kwin"."PoloniumSwitchThreeColumn" = [];
"kwin"."Setup Window Shortcut" = "none,,Setup Window Shortcut";
"kwin"."Show Desktop" = "Meta+D";
"kwin"."Switch One Desktop Down" = "Meta+Ctrl+Down";
"kwin"."Switch One Desktop Up" = "Meta+Ctrl+Up";
"kwin"."Switch One Desktop to the Left" = "Meta+Ctrl+Left";
"kwin"."Switch One Desktop to the Right" = "Meta+Ctrl+Right";
"kwin"."Switch Window Down" = "Meta+Alt+Down";
"kwin"."Switch Window Left" = "Meta+Alt+Left";
"kwin"."Switch Window Right" = "Meta+Alt+Right";
"kwin"."Switch Window Up" = "Meta+Alt+Up";
"kwin"."Switch to Desktop 1" = ["Meta+1" "Ctrl+F1,Ctrl+F1,Switch to Desktop 1"];
"kwin"."Switch to Desktop 10" = "none,,Switch to Desktop 10";
"kwin"."Switch to Desktop 11" = "none,,Switch to Desktop 11";
"kwin"."Switch to Desktop 12" = "none,,Switch to Desktop 12";
"kwin"."Switch to Desktop 13" = "none,,Switch to Desktop 13";
"kwin"."Switch to Desktop 14" = "none,,Switch to Desktop 14";
"kwin"."Switch to Desktop 15" = "none,,Switch to Desktop 15";
"kwin"."Switch to Desktop 16" = "none,,Switch to Desktop 16";
"kwin"."Switch to Desktop 17" = "none,,Switch to Desktop 17";
"kwin"."Switch to Desktop 18" = "none,,Switch to Desktop 18";
"kwin"."Switch to Desktop 19" = "none,,Switch to Desktop 19";
"kwin"."Switch to Desktop 2" = ["Meta+2" "Ctrl+F2,Ctrl+F2,Switch to Desktop 2"];
"kwin"."Switch to Desktop 20" = "none,,Switch to Desktop 20";
"kwin"."Switch to Desktop 3" = ["Ctrl+F3" "Meta+3,Ctrl+F3,Switch to Desktop 3"];
"kwin"."Switch to Desktop 4" = ["Meta+4" "Ctrl+F4,Ctrl+F4,Switch to Desktop 4"];
"kwin"."Switch to Desktop 5" = "Meta+5,,Switch to Desktop 5";
"kwin"."Switch to Desktop 6" = "none,,Switch to Desktop 6";
"kwin"."Switch to Desktop 7" = "none,,Switch to Desktop 7";
"kwin"."Switch to Desktop 8" = "none,,Switch to Desktop 8";
"kwin"."Switch to Desktop 9" = "none,,Switch to Desktop 9";
"kwin"."Switch to Next Desktop" = "none,,Switch to Next Desktop";
"kwin"."Switch to Next Screen" = "none,,Switch to Next Screen";
"kwin"."Switch to Previous Desktop" = "none,,Switch to Previous Desktop";
"kwin"."Switch to Previous Screen" = "none,,Switch to Previous Screen";
"kwin"."Switch to Screen 0" = "none,,Switch to Screen 0";
"kwin"."Switch to Screen 1" = "none,,Switch to Screen 1";
"kwin"."Switch to Screen 2" = "none,,Switch to Screen 2";
"kwin"."Switch to Screen 3" = "none,,Switch to Screen 3";
"kwin"."Switch to Screen 4" = "none,,Switch to Screen 4";
"kwin"."Switch to Screen 5" = "none,,Switch to Screen 5";
"kwin"."Switch to Screen 6" = "none,,Switch to Screen 6";
"kwin"."Switch to Screen 7" = "none,,Switch to Screen 7";
"kwin"."Switch to Screen Above" = "none,,Switch to Screen Above";
"kwin"."Switch to Screen Below" = "none,,Switch to Screen Below";
"kwin"."Switch to Screen to the Left" = "none,,Switch to Screen to the Left";
"kwin"."Switch to Screen to the Right" = "none,,Switch to Screen to the Right";
"kwin"."Toggle Night Color" = [];
"kwin"."Toggle Window Raise/Lower" = "none,,Toggle Window Raise/Lower";
"kwin"."Walk Through Windows" = "Alt+Tab";
"kwin"."Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
"kwin"."Walk Through Windows Alternative" = "none,,Walk Through Windows Alternative";
"kwin"."Walk Through Windows Alternative (Reverse)" = "none,,Walk Through Windows Alternative (Reverse)";
"kwin"."Walk Through Windows of Current Application" = "Alt+`";
"kwin"."Walk Through Windows of Current Application (Reverse)" = "Alt+~";
"kwin"."Walk Through Windows of Current Application Alternative" = "none,,Walk Through Windows of Current Application Alternative";
"kwin"."Walk Through Windows of Current Application Alternative (Reverse)" = "none,,Walk Through Windows of Current Application Alternative (Reverse)";
"kwin"."Window Above Other Windows" = "none,,Keep Window Above Others";
"kwin"."Window Below Other Windows" = "none,,Keep Window Below Others";
"kwin"."Window Close" = ["Meta+Q" "Alt+F4,Alt+F4,Close Window"];
"kwin"."Window Fullscreen" = "none,,Make Window Fullscreen";
"kwin"."Window Grow Horizontal" = "none,,Expand Window Horizontally";
"kwin"."Window Grow Vertical" = "none,,Expand Window Vertically";
"kwin"."Window Lower" = "none,,Lower Window";
"kwin"."Window Maximize" = "Meta+PgUp";
"kwin"."Window Maximize Horizontal" = "none,,Maximize Window Horizontally";
"kwin"."Window Maximize Vertical" = "none,,Maximize Window Vertically";
"kwin"."Window Minimize" = "Meta+PgDown";
"kwin"."Window Move" = "none,,Move Window";
"kwin"."Window Move Center" = "none,,Move Window to the Center";
"kwin"."Window No Border" = "Meta+G,,Toggle Window Titlebar and Frame";
"kwin"."Window On All Desktops" = "none,,Keep Window on All Desktops";
"kwin"."Window One Desktop Down" = "Meta+Ctrl+Shift+Down";
"kwin"."Window One Desktop Up" = "Meta+Ctrl+Shift+Up";
"kwin"."Window One Desktop to the Left" = "Meta+Ctrl+Shift+Left";
"kwin"."Window One Desktop to the Right" = "Meta+Ctrl+Shift+Right";
"kwin"."Window One Screen Down" = "none,,Move Window One Screen Down";
"kwin"."Window One Screen Up" = "none,,Move Window One Screen Up";
"kwin"."Window One Screen to the Left" = "none,,Move Window One Screen to the Left";
"kwin"."Window One Screen to the Right" = "none,,Move Window One Screen to the Right";
"kwin"."Window Operations Menu" = "Alt+F3";
"kwin"."Window Pack Down" = "none,,Move Window Down";
"kwin"."Window Pack Left" = "none,,Move Window Left";
"kwin"."Window Pack Right" = "none,,Move Window Right";
"kwin"."Window Pack Up" = "none,,Move Window Up";
"kwin"."Window Quick Tile Bottom" = "none,Meta+Down,Quick Tile Window to the Bottom";
"kwin"."Window Quick Tile Bottom Left" = "none,,Quick Tile Window to the Bottom Left";
"kwin"."Window Quick Tile Bottom Right" = "none,,Quick Tile Window to the Bottom Right";
"kwin"."Window Quick Tile Left" = "Meta+Left";
"kwin"."Window Quick Tile Right" = "Meta+Right";
"kwin"."Window Quick Tile Top" = "none,Meta+Up,Quick Tile Window to the Top";
"kwin"."Window Quick Tile Top Left" = "none,,Quick Tile Window to the Top Left";
"kwin"."Window Quick Tile Top Right" = "none,,Quick Tile Window to the Top Right";
"kwin"."Window Raise" = "none,,Raise Window";
"kwin"."Window Resize" = "none,,Resize Window";
"kwin"."Window Shade" = "none,,Shade Window";
"kwin"."Window Shrink Horizontal" = "none,,Shrink Window Horizontally";
"kwin"."Window Shrink Vertical" = "none,,Shrink Window Vertically";
"kwin"."Window to Desktop 1" = "Meta+!,,Window to Desktop 1";
"kwin"."Window to Desktop 10" = "none,,Window to Desktop 10";
"kwin"."Window to Desktop 11" = "none,,Window to Desktop 11";
"kwin"."Window to Desktop 12" = "none,,Window to Desktop 12";
"kwin"."Window to Desktop 13" = "none,,Window to Desktop 13";
"kwin"."Window to Desktop 14" = "none,,Window to Desktop 14";
"kwin"."Window to Desktop 15" = "none,,Window to Desktop 15";
"kwin"."Window to Desktop 16" = "none,,Window to Desktop 16";
"kwin"."Window to Desktop 17" = "none,,Window to Desktop 17";
"kwin"."Window to Desktop 18" = "none,,Window to Desktop 18";
"kwin"."Window to Desktop 19" = "none,,Window to Desktop 19";
"kwin"."Window to Desktop 2" = "Meta+@,,Window to Desktop 2";
"kwin"."Window to Desktop 20" = "none,,Window to Desktop 20";
"kwin"."Window to Desktop 3" = "Meta+#,,Window to Desktop 3";
"kwin"."Window to Desktop 4" = "Meta+$,,Window to Desktop 4";
"kwin"."Window to Desktop 5" = "none,,Window to Desktop 5";
"kwin"."Window to Desktop 6" = "none,,Window to Desktop 6";
"kwin"."Window to Desktop 7" = "none,,Window to Desktop 7";
"kwin"."Window to Desktop 8" = "none,,Window to Desktop 8";
"kwin"."Window to Desktop 9" = "none,,Window to Desktop 9";
"kwin"."Window to Next Desktop" = "none,,Window to Next Desktop";
"kwin"."Window to Next Screen" = "Meta+Shift+Right";
"kwin"."Window to Previous Desktop" = "none,,Window to Previous Desktop";
"kwin"."Window to Previous Screen" = "Meta+Shift+Left";
"kwin"."Window to Screen 0" = "none,,Move Window to Screen 0";
"kwin"."Window to Screen 1" = "none,,Move Window to Screen 1";
"kwin"."Window to Screen 2" = "none,,Move Window to Screen 2";
"kwin"."Window to Screen 3" = "none,,Move Window to Screen 3";
"kwin"."Window to Screen 4" = "none,,Move Window to Screen 4";
"kwin"."Window to Screen 5" = "none,,Move Window to Screen 5";
"kwin"."Window to Screen 6" = "none,,Move Window to Screen 6";
"kwin"."Window to Screen 7" = "none,,Move Window to Screen 7";
"kwin"."view_actual_size" = "Meta+0";
"kwin"."view_zoom_in" = ["Meta++" "Meta+=,Meta++" "Meta+=,Zoom In"];
"kwin"."view_zoom_out" = "Meta+-";
"mediacontrol"."mediavolumedown" = "none,,Media volume down";
"mediacontrol"."mediavolumeup" = "none,,Media volume up";
"mediacontrol"."nextmedia" = "Media Next";
"mediacontrol"."pausemedia" = "Media Pause";
"mediacontrol"."playmedia" = "none,,Play media playback";
"mediacontrol"."playpausemedia" = "Media Play";
"mediacontrol"."previousmedia" = "Media Previous";
"mediacontrol"."stopmedia" = "Media Stop";
"org_kde_powerdevil"."Decrease Keyboard Brightness" = "Keyboard Brightness Down";
"org_kde_powerdevil"."Decrease Screen Brightness" = "Monitor Brightness Down";
"org_kde_powerdevil"."Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
"org_kde_powerdevil"."Hibernate" = "Hibernate";
"org_kde_powerdevil"."Increase Keyboard Brightness" = "Keyboard Brightness Up";
"org_kde_powerdevil"."Increase Screen Brightness" = "Monitor Brightness Up";
"org_kde_powerdevil"."Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
"org_kde_powerdevil"."PowerDown" = "Power Down";
"org_kde_powerdevil"."PowerOff" = "Power Off";
"org_kde_powerdevil"."Sleep" = "Sleep";
"org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off";
"org_kde_powerdevil"."Turn Off Screen" = [];
"org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"];
"plasmashell"."activate application launcher" = ["Meta,Meta" "Alt+F1,Activate Application Launcher"];
"plasmashell"."activate task manager entry 1" = "none,Meta+1,Activate Task Manager Entry 1";
"plasmashell"."activate task manager entry 10" = "none,Meta+0,Activate Task Manager Entry 10";
"plasmashell"."activate task manager entry 2" = "none,Meta+2,Activate Task Manager Entry 2";
"plasmashell"."activate task manager entry 3" = "none,Meta+3,Activate Task Manager Entry 3";
"plasmashell"."activate task manager entry 4" = "none,Meta+4,Activate Task Manager Entry 4";
"plasmashell"."activate task manager entry 5" = "none,Meta+5,Activate Task Manager Entry 5";
"plasmashell"."activate task manager entry 6" = "Meta+6";
"plasmashell"."activate task manager entry 7" = "Meta+7";
"plasmashell"."activate task manager entry 8" = "Meta+8";
"plasmashell"."activate task manager entry 9" = "Meta+9";
"plasmashell"."clear-history" = "none,,Clear Clipboard History";
"plasmashell"."clipboard_action" = "Meta+Ctrl+X";
"plasmashell"."cycle-panels" = "Meta+Alt+P";
"plasmashell"."cycleNextAction" = "none,,Next History Item";
"plasmashell"."cyclePrevAction" = "none,,Previous History Item";
"plasmashell"."manage activities" = "none,Meta+Q,Show Activity Switcher";
"plasmashell"."next activity" = [];
"plasmashell"."previous activity" = "Meta+Shift+A,none,Walk through activities (Reverse)";
"plasmashell"."repeat_action" = "none,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard";
"plasmashell"."show dashboard" = "Ctrl+F12";
"plasmashell"."show-barcode" = "none,,Show Barcode";
"plasmashell"."show-on-mouse-pos" = "Meta+V";
"plasmashell"."stop current activity" = "Meta+S";
"plasmashell"."switch to next activity" = "none,,Switch to Next Activity";
"plasmashell"."switch to previous activity" = "none,,Switch to Previous Activity";
"plasmashell"."toggle do not disturb" = "none,,Toggle do not disturb";
"services/code.desktop"."_launch" = "Meta+C";
"services/kitty.desktop"."_launch" = "Meta+T";
"services/librewolf.desktop"."_launch" = "Meta+F";
"services/org.kde.krunner.desktop"."_launch" = ["Meta+A" "Alt+F2" "Alt+Space" "Search"];
"services/org.kde.plasma-systemmonitor.desktop"."_launch" = [];
};
configFile = {
"baloofilerc"."General"."dbVersion" = 2;
"baloofilerc"."General"."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found";
"baloofilerc"."General"."exclude filters version" = 9;
"kactivitymanagerdrc"."activities"."5d67a9cf-0b1a-40b0-a629-e97ffd67fb5d" = "Default";
"kactivitymanagerdrc"."main"."currentActivity" = "5d67a9cf-0b1a-40b0-a629-e97ffd67fb5d";
"kcminputrc"."Libinput/1267/12739/ELAN050B:00 04F3:31C3 Touchpad"."Enabled" = true;
"kded5rc"."Module-device_automounter"."autoload" = false;
"kdeglobals"."General"."TerminalApplication" = "kitty";
"kdeglobals"."General"."TerminalService" = "kitty.desktop";
"kdeglobals"."KDE"."ShowDeleteCommand" = false;
"kdeglobals"."KFileDialog Settings"."Allow Expansion" = false;
"kdeglobals"."KFileDialog Settings"."Automatically select filename extension" = true;
"kdeglobals"."KFileDialog Settings"."Breadcrumb Navigation" = true;
"kdeglobals"."KFileDialog Settings"."Decoration position" = 2;
"kdeglobals"."KFileDialog Settings"."LocationCombo Completionmode" = 5;
"kdeglobals"."KFileDialog Settings"."PathCombo Completionmode" = 5;
"kdeglobals"."KFileDialog Settings"."Show Bookmarks" = false;
"kdeglobals"."KFileDialog Settings"."Show Full Path" = false;
"kdeglobals"."KFileDialog Settings"."Show Inline Previews" = true;
"kdeglobals"."KFileDialog Settings"."Show Speedbar" = true;
"kdeglobals"."KFileDialog Settings"."Show hidden files" = false;
"kdeglobals"."KFileDialog Settings"."Sort by" = "Name";
"kdeglobals"."KFileDialog Settings"."Sort directories first" = true;
"kdeglobals"."KFileDialog Settings"."Sort hidden files last" = false;
"kdeglobals"."KFileDialog Settings"."Sort reversed" = false;
"kdeglobals"."KFileDialog Settings"."Speedbar Width" = 145;
"kdeglobals"."KFileDialog Settings"."View Style" = "DetailTree";
"kdeglobals"."PreviewSettings"."EnableRemoteFolderThumbnail" = false;
"kdeglobals"."PreviewSettings"."MaximumRemoteSize" = 0;
"kdeglobals"."WM"."activeBackground" = "30,30,46";
"kdeglobals"."WM"."activeBlend" = "249,226,175";
"kdeglobals"."WM"."activeForeground" = "205,214,244";
"kdeglobals"."WM"."inactiveBackground" = "30,30,46";
"kdeglobals"."WM"."inactiveBlend" = "69,71,90";
"kdeglobals"."WM"."inactiveForeground" = "205,214,244";
"kiorc"."Confirmations"."ConfirmDelete" = true;
"kiorc"."Confirmations"."ConfirmEmptyTrash" = true;
"kiorc"."Confirmations"."ConfirmTrash" = false;
"kiorc"."Executable scripts"."behaviourOnLaunch" = "alwaysAsk";
"krunnerrc"."General"."FreeFloating" = true;
"kscreenlockerrc"."Daemon"."Timeout" = 20;
"kservicemenurc"."Show"."forgetfileitemaction" = true;
"kservicemenurc"."Show"."installFont" = true;
"kservicemenurc"."Show"."kactivitymanagerd_fileitem_linking_plugin" = true;
"kservicemenurc"."Show"."kdeconnectfileitemaction" = true;
"kservicemenurc"."Show"."kio-admin" = true;
"kservicemenurc"."Show"."makefileactions" = true;
"kservicemenurc"."Show"."mountisoaction" = true;
"kservicemenurc"."Show"."movetonewfolderitemaction" = true;
"kservicemenurc"."Show"."tagsfileitemaction" = true;
"kservicemenurc"."Show"."wallpaperfileitemaction" = true;
"ktrashrc"."\\/home\\/foglar\\/.local\\/share\\/Trash"."Days" = 7;
"ktrashrc"."\\/home\\/foglar\\/.local\\/share\\/Trash"."LimitReachedAction" = 0;
"ktrashrc"."\\/home\\/foglar\\/.local\\/share\\/Trash"."Percent" = 10;
"ktrashrc"."\\/home\\/foglar\\/.local\\/share\\/Trash"."UseSizeLimit" = true;
"ktrashrc"."\\/home\\/foglar\\/.local\\/share\\/Trash"."UseTimeLimit" = false;
"kwalletrc"."Wallet"."First Use" = false;
"kwinrc"."Desktops"."Id_1" = "66042c39-a040-4331-a4fb-d7d723534146";
"kwinrc"."Desktops"."Id_2" = "da694f1d-0b4f-4864-a7ab-f7fca1484514";
"kwinrc"."Desktops"."Id_3" = "8cb8e59c-4f5d-411a-b4ae-93e300c42279";
"kwinrc"."Desktops"."Id_4" = "2f233f6c-47f2-492d-9730-0a3c7c644d41";
"kwinrc"."Desktops"."Number" = 4;
"kwinrc"."Desktops"."Rows" = 1;
"kwinrc"."Plugins"."poloniumEnabled" = true;
"kwinrc"."Tiling"."padding" = 4;
"kwinrc"."Tiling/5eab1ee1-97e8-53bb-af55-2501eccfca18"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]}";
"kwinrc"."Tiling/66597c11-0460-50e9-950d-d38fee6a4b15"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
"kwinrc"."Xwayland"."Scale" = 1.1;
"kxkbrc"."Layout"."DisplayNames" = ",";
"kxkbrc"."Layout"."LayoutList" = "us,cz";
"kxkbrc"."Layout"."Use" = true;
"kxkbrc"."Layout"."VariantList" = ",";
"plasma-localerc"."Formats"."LANG" = "en_US.UTF-8";
"plasmarc"."Wallpapers"."usersWallpapers" = "/nix/store/0gh072ac3vzs15giynxzcb1jcrzf43nq-stylix-kde-theme/share/wallpapers/stylix/";
"spectaclerc"."Annotations"."annotationToolType" = 2;
"spectaclerc"."GuiConfig"."captureMode" = 0;
"spectaclerc"."ImageSave"."translatedScreenshotsFolder" = "Screenshots";
"spectaclerc"."VideoSave"."translatedScreencastsFolder" = "Screencasts";
};
dataFile = {
};
};
}

View File

@ -19,7 +19,7 @@
".config/hypr/hyprlock.conf".source = ../config/hyprlock.conf; ".config/hypr/hyprlock.conf".source = ../config/hyprlock.conf;
".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".text = '' ".prettierrc".text = ''
{ {
"tabWidth": 4, "tabWidth": 4,

View File

@ -18,10 +18,9 @@
stellarium stellarium
libreoffice libreoffice
localsend localsend
plasma5Packages.kdeconnect-kde kdePackages.kdeconnect-kde
vlc vlc
openrocket openrocket
spotify
spotube spotube
inkscape inkscape
gnome-disk-utility gnome-disk-utility
@ -39,7 +38,7 @@
loupe loupe
simple-scan simple-scan
vesktop vesktop
gnome.gnome-font-viewer gnome-font-viewer
evince evince
]); ]);
}; };

View File

@ -0,0 +1,30 @@
{
lib,
config,
pkgs,
inputs,
...
}: {
options = {
program.spotify.enable = lib.mkEnableOption "enable spotify";
};
imports = [
inputs.spicetify-nix.homeManagerModules.default
];
config = lib.mkIf config.program.spotify.enable {
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
hidePodcasts
shuffle # shuffle+ (special characters are sanitized out of extension names)
];
#theme = spicePkgs.themes.catppuccin;
#colorScheme = "mocha";
};
};
}

View File

@ -10,6 +10,7 @@
./terminal_tools.nix ./terminal_tools.nix
./applications.nix ./applications.nix
./applications/firefox.nix ./applications/firefox.nix
./applications/spotify.nix
]; ];
group.terminal_tools.enable = lib.mkDefault true; group.terminal_tools.enable = lib.mkDefault true;
@ -19,6 +20,7 @@
group.hacking.enable = lib.mkDefault true; group.hacking.enable = lib.mkDefault true;
program.firefox.enable = lib.mkDefault true; program.firefox.enable = lib.mkDefault true;
program.spotify.enable = lib.mkDefault true;
home.packages = with pkgs; [ home.packages = with pkgs; [
alejandra alejandra

View File

@ -1,6 +1,41 @@
{lib}:
{ {
lib,
config,
pkgs,
...
}: {
options = { options = {
neovim = lib.mkEnableOption "neovim"; program.neovim.enable = lib.mkEnableOption "neovim";
}; };
}
config = lib.mkIf config.program.neovim.enable {
home.sessionVariables.EDITOR = "nvim";
programs.neovim.enable = true;
#programs.neovim = let
# toLua = str: "lua << EOF\n${str}\nEOF\n";
# toLuaFile = file: "lua << EOF\n${builtins.readFile file}\nEOF\n";
#in {
# enable = true;
# defaultEditor = true;
# viAlias = true;
# vimAlias = true;
# extraPackages = with pkgs; [
# lua-language-server
# xclip
# wl-clipboard
# ];
#
# plugins = with pkgs.vimPlugins; [
# {
# plugin = nvim-lspconfig;
# config = toLuaFile ./nvim/plugin/lsp.lua;
# }
# #pkgs.vimPlugins.LazyVim
# #pkgs.vimPlugins.mason-lspconfig-nvim
# #pkgs.vimPlugins.nvchad
# ];
#};
};
}

View File

@ -4,7 +4,6 @@
config, config,
... ...
}: { }: {
options = { options = {
group.programming.enable = group.programming.enable =
lib.mkEnableOption "enable programming toolset"; lib.mkEnableOption "enable programming toolset";
@ -13,15 +12,15 @@
imports = [ imports = [
./code.nix ./code.nix
./git.nix ./git.nix
./neovim.nix
]; ];
config = lib.mkIf config.group.programming.enable { config = lib.mkIf config.group.programming.enable {
program.vscode.enable = lib.mkDefault true; program.vscode.enable = lib.mkDefault true;
program.git.enable = lib.mkDefault true; program.git.enable = lib.mkDefault true;
program.neovim.enable = lib.mkDefault true;
home.packages = with pkgs; [ home.packages = with pkgs; [
neovim
arduino-ide arduino-ide
distrobox distrobox
go go

View File

@ -41,7 +41,7 @@
btop.enable = true; btop.enable = true;
fzf.enable = true; fzf.enable = true;
neovim.enable = true; neovim.enable = true;
spicetify.enable = true; #spicetify.enable = true;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -62,7 +62,6 @@
fzf fzf
tldr tldr
ranger ranger
spicetify-cli
unzip unzip
]; ];
}; };

View File

@ -15,7 +15,7 @@
enableCompletion = true; enableCompletion = true;
shellAliases = { shellAliases = {
vim = "nvim"; #vim = "nvim";
ls = "exa --icons"; ls = "exa --icons";
ll = "exa -alh --icons"; ll = "exa -alh --icons";
tree = "exa --tree --icons"; tree = "exa --tree --icons";
@ -43,7 +43,6 @@
}; };
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim";
FLAKE = "/home/foglar/dotfiles"; FLAKE = "/home/foglar/dotfiles";
XDG_DATA_HOME = "$HOME/.local/share"; XDG_DATA_HOME = "$HOME/.local/share";
XDG_PICTURES_DIR = "$HOME/Pictures/Screenshots/"; XDG_PICTURES_DIR = "$HOME/Pictures/Screenshots/";

View File

@ -14,6 +14,6 @@
virt-manager.enable = lib.mkDefault true; virt-manager.enable = lib.mkDefault true;
}; };
desktop.steamdeck.enable = lib.mkDefault false; desktop.steamdeck.enable = lib.mkDefault false;
programs.kdeconnect.enable = true; programs.kdeconnect.enable = lib.mkDefault true;
programs.wireshark.enable = true; programs.wireshark.enable = lib.mkDefault true;
} }