Move allowUnfree to allowUnfreePredicate
Add ferdium and window rule Move waybar overlay into hyprland expression
This commit is contained in:
parent
e18ac3f354
commit
039cab92de
15
flake.nix
15
flake.nix
|
@ -93,17 +93,6 @@
|
|||
, homeModules ? default.homeModules, stateVersion ? default.stateVersion
|
||||
}:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
waybar = prev.waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
specialArgs = {
|
||||
inherit hostName user group;
|
||||
inherit (inputs) hyprland;
|
||||
|
@ -112,7 +101,7 @@
|
|||
inherit wallpapers catppuccin-themes;
|
||||
inherit (inputs) doom-emacs gitui;
|
||||
};
|
||||
commonModule = {
|
||||
commonModule = { pkgs, ... }: {
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
|
@ -203,7 +192,7 @@
|
|||
};
|
||||
};
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
inherit pkgs specialArgs;
|
||||
inherit system specialArgs;
|
||||
modules = [
|
||||
./hosts/${hostName}/configuration.nix
|
||||
./hosts/${hostName}/hardware-configuration.nix
|
||||
|
|
|
@ -183,6 +183,7 @@
|
|||
windowrule = workspace 6,(Signal)
|
||||
windowrule = workspace 6,(fractal)
|
||||
windowrule = workspace 6,(discord)
|
||||
windowrule = workspace 6,(Ferdium)
|
||||
|
||||
# 7: [v]ideo
|
||||
bind = SUPER, V, moveworkspacetomonitor, 7 current
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
libsForQt5.polkit-kde-agent
|
||||
mc
|
||||
signal-desktop
|
||||
ferdium
|
||||
libreoffice
|
||||
zotero
|
||||
minesweep-rs
|
||||
];
|
||||
programs = {
|
||||
firefox.package = pkgs.firefox-wayland;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ ... }: {
|
||||
{ lib, ... }: {
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
@ -18,6 +18,8 @@
|
|||
environment.etc."ppp/options".text = ''
|
||||
ipcp-accept-remote
|
||||
'';
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [ "nomachine-client" ];
|
||||
services.syncthing.settings.folders = {
|
||||
"Archive".enable = false;
|
||||
"Books".enable = false;
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
{ config, pkgs, lib, user, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
openfortivpn
|
||||
nomachine-client
|
||||
teams-for-linux
|
||||
zoom-us
|
||||
];
|
||||
home.packages = with pkgs; [ openfortivpn nomachine-client teams-for-linux ];
|
||||
programs = {
|
||||
git.userEmail = "evie.litherland-smith@ukaea.uk";
|
||||
ssh.matchBlocks = {
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{ pkgs, user ? "xenia", hyprland, ... }: {
|
||||
imports = [ ./desktop.nix hyprland.nixosModules.default ];
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
waybar = prev.waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
});
|
||||
})
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
libsForQt5.polkit-kde-agent
|
||||
xdg-utils
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [ "steam" "steam-original" "steam-run" ];
|
||||
hardware = {
|
||||
opengl.driSupport32Bit = true;
|
||||
steam-hardware.enable = true;
|
||||
|
|
Loading…
Reference in a new issue