cleaning_apres_maj_25_05

This commit is contained in:
Nathanaël Leprette 2025-05-25 20:52:13 +02:00
parent c809fa8994
commit 0390519970
9 changed files with 3 additions and 1176 deletions

View File

@ -70,21 +70,11 @@
services.xserver = {
xkb.layout = "fr";
xkb.variant = "";
# xkb.extraLayouts = {
# ergol = {
# description = "Ergo-L";
# languages = [ "fr" ];
# symbolsFile = ./ergol.xkb_custom;
# };
# };
};
# Configure console keymap
console.keyMap = "fr";
# Power daemon
hardware.system76.power-daemon.enable = true;
# Enable sound with pipewire.
services.pulseaudio.enable = false;
security.rtkit.enable = true;

View File

@ -1,105 +0,0 @@
{
"nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1717312683,
"narHash": "sha256-FrlieJH50AuvagamEvWMIE6D2OAnERuDboFDYAED/dE=",
"owner": "nix-community",
"repo": "flake-compat",
"rev": "38fd3954cf65ce6faf3d0d45cd26059e059f07ea",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "flake-compat",
"type": "github"
}
},
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1733517677,
"narHash": "sha256-9xb5qKLMqczkzw5qC1XjMwb0Q02hdLlmfLOmw1Y4HKs=",
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"rev": "25aa22b5972d27a6b432ccd6f9e2f42b1b7b71ca",
"type": "github"
},
"original": {
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1732837521,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1732981179,
"narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixos-cosmic": "nixos-cosmic",
"nixpkgs": [
"nixos-cosmic",
"nixpkgs-stable"
]
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"nixos-cosmic",
"nixpkgs"
]
},
"locked": {
"lastModified": 1732933841,
"narHash": "sha256-dge02pUSe2QeC/B3PriA0R8eAX+EU3aDoXj9FcS3XDw=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "c65e91d4a33abc3bc4a892d3c5b5b378bad64ea1",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@ -4,35 +4,21 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
# nixpkgs_unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
# nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
# nixos-cosmic.url = "github:PhoenixPhantom/nixos-cosmic";
# nixpkgs.follows = "nixos-cosmic/nixpkgs-stable"; # NOTE: change "nixpkgs" to "nixpkgs-stable" to use stable NixOS release
# nixpkgs_unstable.follows = "nixos-cosmic/nixpkgs"; # NOTE: change "nixpkgs" to "nixpkgs-stable" to use stable NixOS release
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
# inputs.nixpkgs.follows = "nixos-cosmic";
# inputs.nixpkgs.follows = "nixos-cosmic/nixpkgs-stable";
};
# affinity-nix.url = "github:mrshmllow/affinity-nix";
};
# outputs = inputs@{ self, nixpkgs, nixpkgs_unstable, nixos-cosmic, ... }: {
# outputs = inputs@{ self, nixpkgs, nixos-cosmic, affinity-nix, ... }: {
# outputs = inputs@{ self, nixpkgs, nixos-cosmic, lix-module, ... }: {
# outputs = inputs@{ self, nixpkgs, lix-module, affinity-nix, ... }: {
outputs = inputs@{ self, nixpkgs, lix-module, ... }: {
# outputs = inputs@{ self, nixpkgs, nixos-cosmic, ... }: {
nixosConfigurations.ThinkPadT470 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
{
# nix.settings = {
# substituters = [ "https://cosmic.cachix.org/" ];
# trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
# };
}
# nixos-cosmic.nixosModules.default
lix-module.nixosModules.default
./hardware-configuration.nix
./configuration.nix

View File

@ -47,8 +47,7 @@
digikam
duf #modern df command
element-desktop
# examine
# evince
examine
eza # modern ls command
fd # modern find command
ffmpeg
@ -106,7 +105,7 @@
publii
# pulsar
python3
# quick-webapps
quick-webapps
remmina
resources
rustdesk-flutter
@ -114,7 +113,6 @@
simple-scan
soundconverter
sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
teams-for-linux
textpieces
@ -190,9 +188,6 @@
"cnijfilter2"
"corefonts"
"ventoy"
# "steam-run" #needed to launch Nextcloud Talk
# "steam-unwrapped" #needed to launch Nextcloud Talk instead of -original
# "steam-original" #needed to launch Nextcloud Talk
];
};
};

View File

@ -1,207 +0,0 @@
# 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).
#{nixpkgs, nixpkgs_unstable, nix_software_center}:
{ config, pkgs, lib, inputs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
adw-gtk3
aspellDicts.fr #dictionary to spellcheck gnome apps
aspellDicts.en #dictionary to spellcheck gnome apps
hunspellDicts.fr-any #dictionary to spellcheck other apps
hunspellDicts.en_US #dictionary to spellcheck other apps
hunspellDicts.en_CA #dictionary to spellcheck other apps
hunspellDicts.en_AU #dictionary to spellcheck other apps
hunspellDicts.en_GB-ize #dictionary to spellcheck other apps
affine
android-tools
apache-directory-studio
audacity
avidemux
bat # modern cat command
calibre
clapgrep
clementine
cosmic-ext-applet-clipboard-manager
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-examine
cosmic-ext-forecast
cosmic-ext-tweaks
cosmic-player
cosmic-reader
cosmic-wallpapers
dconf-editor
drawing
dmidecode
digikam
duf #modern df command
element-desktop
evince
eza # modern ls command
fd # modern find command
ffmpeg
filezilla
firefox-devedition
firefoxpwa
flameshot
fontforge
freetube
fractal
gearlever #manage appimage
gimp
git
gnome-obfuscate
grsync
gparted
gpxsee
gscan2pdf
gtkhash
handbrake
hardinfo2
heimdall
heimdall-gui
httpie # modern wget and curl command
httrack
imagemagick
inkscape-with-extensions
jitsi-meet-electron
libsForQt5.kdenlive
keepassxc
klavaro
libreoffice-qt
loupe
marktext
# mission-center
mousai
nautilus-python
nextcloud-client
nextcloud-talk-desktop
ncdu # modern du command
obs-studio
onlyoffice-bin_latest
openshot-qt
openssl
openvpn3
pdf4qt
pdfarranger
php
pick-colour-picker
publii
pulsar
python3
quick-webapps
remmina
resources
rustdesk-flutter
simple-scan
soundconverter
# sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
textpieces
tor-browser
thunderbird
traceroute
transmission_4-gtk
tribler
tuba
ungoogled-chromium
vorta
vlc
ventoy
vscodium
wget
wifi-qr
wl-clipboard # to add clipboard sharing with waydroid
zed-editor
zettlr
zombietrackergps
# inputs.nixpkgs_unstable.legacyPackages."${pkgs.system}".NOMDEPAQUET
];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # turn on native wayland support in all chrome and most electron
programs = {
firefox = {
enable = true;
package = pkgs.firefox;
wrapperConfig = {
pipewireSupport = true;
};
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
appimage = {
enable = true;
binfmt = true;
};
};
# services.tor = {
# enable = true;
# settings = {
# ExitNodes = "fr";
# StrictNodes = "1";
# };
# };
# oldfation way to handle appimage on nixos
# boot.binfmt.registrations.appimage = {
# wrapInterpreterInShell = false;
# interpreter = "${pkgs.appimage-run}/bin/appimage-run";
# recognitionType = "magic";
# offset = 0;
# mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
# magicOrExtension = ''\x7fELF....AI\x02'';
# };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
nixpkgs = {
config = {
permittedInsecurePackages = [
"pulsar-1.122.0"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "steam-run" #needed to launch Nextcloud Talk
# "steam-original" #needed to launch Nextcloud Talk
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
waydroid.enable = true;
};
programs.virt-manager.enable = true;
}

View File

@ -1,210 +0,0 @@
# 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).
#{nixpkgs, nixpkgs_unstable, nix_software_center}:
{ config, pkgs, lib, inputs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
adw-gtk3
aspellDicts.fr #dictionary to spellcheck gnome apps
aspellDicts.en #dictionary to spellcheck gnome apps
hunspellDicts.fr-any #dictionary to spellcheck other apps
hunspellDicts.en_US #dictionary to spellcheck other apps
hunspellDicts.en_CA #dictionary to spellcheck other apps
hunspellDicts.en_AU #dictionary to spellcheck other apps
hunspellDicts.en_GB-ize #dictionary to spellcheck other apps
affine
android-tools
apache-directory-studio
audacity
avidemux
bat # modern cat command
calibre
clapgrep
clementine
cosmic-ext-applet-clipboard-manager
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-examine
cosmic-ext-forecast
cosmic-ext-tweaks
cosmic-player
cosmic-reader
cosmic-wallpapers
dconf-editor
diebahn #Railway
drawing
dmidecode
digikam
duf #modern df command
element-desktop
evince
eza # modern ls command
fd # modern find command
ffmpeg
filezilla
firefox-devedition
firefoxpwa
flameshot
fontforge
freetube
fractal
gearlever #manage appimage
gimp
git
gnome-obfuscate
grsync
gparted
gpxsee
gscan2pdf
gtkhash
handbrake
hardinfo2
heimdall
heimdall-gui
httpie # modern wget and curl command
httrack
imagemagick
inkscape-with-extensions
jitsi-meet-electron
libsForQt5.kdenlive
keepassxc
klavaro
libreoffice-qt
loupe
marktext
# mission-center
mousai
nautilus-python
nextcloud-client
nextcloud-talk-desktop
ncdu # modern du command
obs-studio
onlyoffice-bin_latest
openshot-qt
openssl
openvpn3
pdf4qt
pdfarranger
php
pick-colour-picker
epick
gpick
publii
pulsar
python3
quick-webapps
remmina
resources
rustdesk-flutter
simple-scan
soundconverter
# sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
textpieces
tor-browser
thunderbird
traceroute
transmission_4-gtk
tribler
tuba
ungoogled-chromium
vorta
vlc
ventoy
vscodium
wget
wifi-qr
wl-clipboard # to add clipboard sharing with waydroid
zed-editor
zettlr
zombietrackergps
# inputs.nixpkgs_unstable.legacyPackages."${pkgs.system}".NOMDEPAQUET
];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # turn on native wayland support in all chrome and most electron
programs = {
firefox = {
enable = true;
package = pkgs.firefox;
wrapperConfig = {
pipewireSupport = true;
};
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
appimage = {
enable = true;
binfmt = true;
};
};
# services.tor = {
# enable = true;
# settings = {
# ExitNodes = "fr";
# StrictNodes = "1";
# };
# };
# oldfation way to handle appimage on nixos
# boot.binfmt.registrations.appimage = {
# wrapInterpreterInShell = false;
# interpreter = "${pkgs.appimage-run}/bin/appimage-run";
# recognitionType = "magic";
# offset = 0;
# mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
# magicOrExtension = ''\x7fELF....AI\x02'';
# };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
nixpkgs = {
config = {
permittedInsecurePackages = [
"pulsar-1.122.0"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "steam-run" #needed to launch Nextcloud Talk
# "steam-original" #needed to launch Nextcloud Talk
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
waydroid.enable = true;
};
programs.virt-manager.enable = true;
}

View File

@ -1,208 +0,0 @@
# 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).
#{nixpkgs, nixpkgs_unstable, nix_software_center}:
{ config, pkgs, lib, inputs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
adw-gtk3
aspellDicts.fr #dictionary to spellcheck gnome apps
aspellDicts.en #dictionary to spellcheck gnome apps
hunspellDicts.fr-any #dictionary to spellcheck other apps
hunspellDicts.en_US #dictionary to spellcheck other apps
hunspellDicts.en_CA #dictionary to spellcheck other apps
hunspellDicts.en_AU #dictionary to spellcheck other apps
hunspellDicts.en_GB-ize #dictionary to spellcheck other apps
affine
android-tools
apache-directory-studio
audacity
avidemux
bat # modern cat command
calibre
clapgrep
clementine
cosmic-ext-applet-clipboard-manager
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-examine
cosmic-ext-forecast
cosmic-ext-tweaks
cosmic-player
cosmic-reader
cosmic-wallpapers
dconf-editor
diebahn #Railway
drawing
dmidecode
digikam
duf #modern df command
element-desktop
evince
eza # modern ls command
fd # modern find command
ffmpeg
filezilla
firefox-devedition
firefoxpwa
flameshot
fontforge
freetube
fractal
gearlever #manage appimage
gimp
git
gnome-obfuscate
grsync
gparted
gpxsee
gscan2pdf
gtkhash
handbrake
hardinfo2
heimdall
heimdall-gui
httpie # modern wget and curl command
httrack
imagemagick
inkscape-with-extensions
jitsi-meet-electron
libsForQt5.kdenlive
keepassxc
klavaro
libreoffice-qt
loupe
marktext
# mission-center
mousai
nautilus-python
nextcloud-client
nextcloud-talk-desktop
ncdu # modern du command
obs-studio
onlyoffice-bin_latest
openshot-qt
openssl
openvpn3
pdf4qt
pdfarranger
php
pick-colour-picker
publii
pulsar
python3
quick-webapps
remmina
resources
rustdesk-flutter
simple-scan
soundconverter
# sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
textpieces
tor-browser
thunderbird
traceroute
transmission_4-gtk
tribler
tuba
ungoogled-chromium
vorta
vlc
ventoy
vscodium
wget
wifi-qr
wl-clipboard # to add clipboard sharing with waydroid
zed-editor
zettlr
zombietrackergps
# inputs.nixpkgs_unstable.legacyPackages."${pkgs.system}".NOMDEPAQUET
];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # turn on native wayland support in all chrome and most electron
programs = {
firefox = {
enable = true;
package = pkgs.firefox;
wrapperConfig = {
pipewireSupport = true;
};
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
appimage = {
enable = true;
binfmt = true;
};
};
# services.tor = {
# enable = true;
# settings = {
# ExitNodes = "fr";
# StrictNodes = "1";
# };
# };
# oldfation way to handle appimage on nixos
# boot.binfmt.registrations.appimage = {
# wrapInterpreterInShell = false;
# interpreter = "${pkgs.appimage-run}/bin/appimage-run";
# recognitionType = "magic";
# offset = 0;
# mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
# magicOrExtension = ''\x7fELF....AI\x02'';
# };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
nixpkgs = {
config = {
permittedInsecurePackages = [
"pulsar-1.122.0"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "steam-run" #needed to launch Nextcloud Talk
# "steam-original" #needed to launch Nextcloud Talk
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
waydroid.enable = true;
};
programs.virt-manager.enable = true;
}

View File

@ -1,207 +0,0 @@
# 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).
#{nixpkgs, nixpkgs_unstable, nix_software_center}:
{ config, pkgs, lib, inputs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
adw-gtk3
aspellDicts.fr #dictionary to spellcheck gnome apps
aspellDicts.en #dictionary to spellcheck gnome apps
hunspellDicts.fr-any #dictionary to spellcheck other apps
hunspellDicts.en_US #dictionary to spellcheck other apps
hunspellDicts.en_CA #dictionary to spellcheck other apps
hunspellDicts.en_AU #dictionary to spellcheck other apps
hunspellDicts.en_GB-ize #dictionary to spellcheck other apps
affine
android-tools
apache-directory-studio
audacity
avidemux
bat # modern cat command
calibre
clapgrep
clementine
cosmic-ext-applet-clipboard-manager
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-examine
cosmic-ext-forecast
cosmic-ext-tweaks
cosmic-player
cosmic-reader
cosmic-wallpapers
dconf-editor
diebahn #Railway
drawing
dmidecode
digikam
duf #modern df command
element-desktop
evince
eza # modern ls command
fd # modern find command
ffmpeg
filezilla
firefox-devedition
firefoxpwa
flameshot
fontforge
freetube
fractal
gearlever #manage appimage
gimp
git
gnome-obfuscate
grsync
gparted
gpxsee
gscan2pdf
gtkhash
handbrake
hardinfo2
heimdall
heimdall-gui
httpie # modern wget and curl command
httrack
imagemagick
inkscape-with-extensions
jitsi-meet-electron
libsForQt5.kdenlive
keepassxc
klavaro
libreoffice-qt
loupe
marktext
# mission-center
mousai
nautilus-python
nextcloud-client
nextcloud-talk-desktop
ncdu # modern du command
obs-studio
onlyoffice-bin_latest
openshot-qt
openssl
openvpn3
pdf4qt
pdfarranger
php
publii
pulsar
python3
quick-webapps
remmina
resources
rustdesk-flutter
simple-scan
soundconverter
# sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
textpieces
tor-browser
thunderbird
traceroute
transmission_4-gtk
tribler
tuba
ungoogled-chromium
vorta
vlc
ventoy
vscodium
wget
wifi-qr
wl-clipboard # to add clipboard sharing with waydroid
zed-editor
zettlr
zombietrackergps
# inputs.nixpkgs_unstable.legacyPackages."${pkgs.system}".NOMDEPAQUET
];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # turn on native wayland support in all chrome and most electron
programs = {
firefox = {
enable = true;
package = pkgs.firefox;
wrapperConfig = {
pipewireSupport = true;
};
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
appimage = {
enable = true;
binfmt = true;
};
};
# services.tor = {
# enable = true;
# settings = {
# ExitNodes = "fr";
# StrictNodes = "1";
# };
# };
# oldfation way to handle appimage on nixos
# boot.binfmt.registrations.appimage = {
# wrapInterpreterInShell = false;
# interpreter = "${pkgs.appimage-run}/bin/appimage-run";
# recognitionType = "magic";
# offset = 0;
# mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
# magicOrExtension = ''\x7fELF....AI\x02'';
# };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
nixpkgs = {
config = {
permittedInsecurePackages = [
"pulsar-1.122.0"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "steam-run" #needed to launch Nextcloud Talk
# "steam-original" #needed to launch Nextcloud Talk
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
waydroid.enable = true;
};
programs.virt-manager.enable = true;
}

View File

@ -1,207 +0,0 @@
# 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).
#{nixpkgs, nixpkgs_unstable, nix_software_center}:
{ config, pkgs, lib, inputs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
adw-gtk3
aspellDicts.fr #dictionary to spellcheck gnome apps
aspellDicts.en #dictionary to spellcheck gnome apps
hunspellDicts.fr-any #dictionary to spellcheck other apps
hunspellDicts.en_US #dictionary to spellcheck other apps
hunspellDicts.en_CA #dictionary to spellcheck other apps
hunspellDicts.en_AU #dictionary to spellcheck other apps
hunspellDicts.en_GB-ize #dictionary to spellcheck other apps
affine
android-tools
apache-directory-studio
audacity
avidemux
bat # modern cat command
calibre
clapgrep
clementine
cosmic-ext-applet-clipboard-manager
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-examine
cosmic-ext-forecast
cosmic-ext-tweaks
cosmic-player
cosmic-reader
cosmic-wallpapers
dconf-editor
diebahn #Railway
drawing
dmidecode
digikam
duf #modern df command
element-desktop
evince
eza # modern ls command
fd # modern find command
ffmpeg
filezilla
firefox-devedition
firefoxpwa
flameshot
fontforge
freetube
fractal
gearlever #manage appimage
gimp
git
gnome-obfuscate
grsync
gparted
gpxsee
gscan2pdf
gtkhash
handbrake
hardinfo2
heimdall
heimdall-gui
httpie # modern wget and curl command
httrack
imagemagick
inkscape-with-extensions
jitsi-meet-electron
libsForQt5.kdenlive
keepassxc
klavaro
libreoffice-qt
loupe
marktext
# mission-center
mousai
nautilus-python
nextcloud-client
nextcloud-talk-desktop
ncdu # modern du command
obs-studio
onlyoffice-bin_latest
openshot-qt
openssl
openvpn3
pdf4qt
pdfarranger
php
publii
pulsar
python3
quick-webapps
remmina
resources
rustdesk-flutter
simple-scan
soundconverter
# sportstracker
# steam-run #needed to launch Nextcloud Talk
subtitleeditor
textpieces
tor-browser
thunderbird
traceroute
transmission_4-gtk
tribler
tuba
ungoogled-chromium
vorta
vlc
ventoy
vscodium
wget
wifi-qr
wl-clipboard # to add clipboard sharing with waydroid
zed-editor
zettlr
zombietrackergps
# inputs.nixpkgs_unstable.legacyPackages."${pkgs.system}".NOMDEPAQUET
];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # turn on native wayland support in all chrome and most electron
programs = {
firefox = {
enable = true;
package = pkgs.firefox;
wrapperConfig = {
pipewireSupport = true;
};
nativeMessagingHosts.packages = with pkgs; [
browserpass
gnomeExtensions.gsconnect
firefoxpwa
];
};
kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
appimage = {
enable = true;
binfmt = true;
};
};
# services.tor = {
# enable = true;
# settings = {
# ExitNodes = "fr";
# StrictNodes = "1";
# };
# };
# oldfation way to handle appimage on nixos
# boot.binfmt.registrations.appimage = {
# wrapInterpreterInShell = false;
# interpreter = "${pkgs.appimage-run}/bin/appimage-run";
# recognitionType = "magic";
# offset = 0;
# mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
# magicOrExtension = ''\x7fELF....AI\x02'';
# };
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
nixpkgs = {
config = {
permittedInsecurePackages = [
"pulsar-1.122.0"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "steam-run" #needed to launch Nextcloud Talk
# "steam-original" #needed to launch Nextcloud Talk
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
waydroid.enable = true;
};
programs.virt-manager.enable = true;
}