adding emacs packages overlay and using sddm
This commit is contained in:
		
							parent
							
								
									c83219239b
								
							
						
					
					
						commit
						1bece25e37
					
				
					 5 changed files with 50 additions and 12 deletions
				
			
		
							
								
								
									
										24
									
								
								README.org
									
										
									
									
									
								
							
							
						
						
									
										24
									
								
								README.org
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -63,7 +63,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
        inherit system;
 | 
			
		||||
        config = { allowUnfree = true; };
 | 
			
		||||
        overlays = [
 | 
			
		||||
          emacs.overlay
 | 
			
		||||
          emacs.overlays.default
 | 
			
		||||
 | 
			
		||||
          (self: super:
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			@ -167,6 +167,11 @@ nix = {
 | 
			
		|||
  extraOptions = "experimental-features = nix-command flakes";
 | 
			
		||||
  package = pkgs.nixVersions.unstable;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
nixpkgs.config.permittedInsecurePackages = [
 | 
			
		||||
  "qtwebkit-5.212.0-alpha4"
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
I use plasma and awesome mostly as my desktop. Also all desktops will likely need ntfs support in order to work with windows devices.
 | 
			
		||||
| 
						 | 
				
			
			@ -183,7 +188,7 @@ services.xserver = {
 | 
			
		|||
  displayManager = {
 | 
			
		||||
    startx.enable = true;
 | 
			
		||||
    sddm = {
 | 
			
		||||
      enable = false;
 | 
			
		||||
      enable = true;
 | 
			
		||||
    };
 | 
			
		||||
    session = [
 | 
			
		||||
      {
 | 
			
		||||
| 
						 | 
				
			
			@ -204,10 +209,10 @@ services.xserver = {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
services.greetd = {
 | 
			
		||||
  enable = true;
 | 
			
		||||
  enable = false;
 | 
			
		||||
  settings = rec {
 | 
			
		||||
    initial_session = {
 | 
			
		||||
      command = "dbus-launch startplasma-wayland";
 | 
			
		||||
      command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
 | 
			
		||||
      user = "chris";
 | 
			
		||||
    };
 | 
			
		||||
    default_session = initial_session;
 | 
			
		||||
| 
						 | 
				
			
			@ -618,6 +623,12 @@ services.emacs = {
 | 
			
		|||
      org-roam-ui
 | 
			
		||||
      org-present
 | 
			
		||||
      org-modern
 | 
			
		||||
      org-re-reveal
 | 
			
		||||
      org-re-reveal-ref
 | 
			
		||||
      org-re-reveal-citeproc
 | 
			
		||||
      ox-reveal
 | 
			
		||||
      oer-reveal
 | 
			
		||||
      ox-spectacle
 | 
			
		||||
      unicode-fonts
 | 
			
		||||
      emojify
 | 
			
		||||
      undo-tree
 | 
			
		||||
| 
						 | 
				
			
			@ -2506,6 +2517,11 @@ I also use home-manager for managing dotfiles. This means that everything is con
 | 
			
		|||
 | 
			
		||||
}
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
*** Plasma
 | 
			
		||||
Plasma manager helps me to configure plasma declaratively.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
* Thanks!
 | 
			
		||||
 | 
			
		||||
* EXTRA
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -219,7 +219,7 @@ alias nupd "update-nix"
 | 
			
		|||
alias nupg "upgrade-nix"
 | 
			
		||||
alias nixs "nix search nixpkgs"
 | 
			
		||||
alias myip "curl icanhazip.com"
 | 
			
		||||
alias ytd "yt-dlp -o ~/Videos/%(title)s.%(ext)s"
 | 
			
		||||
alias ytd "yt-dlp -o \"~/Videos/%(title)s.%(ext)s\" $1"
 | 
			
		||||
 | 
			
		||||
### Start X at login
 | 
			
		||||
if status is-login
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,7 +36,7 @@
 | 
			
		|||
        inherit system;
 | 
			
		||||
        config = { allowUnfree = true; };
 | 
			
		||||
        overlays = [
 | 
			
		||||
          emacs.overlay
 | 
			
		||||
          emacs.overlays.default
 | 
			
		||||
 | 
			
		||||
          (self: super:
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,6 +10,11 @@
 | 
			
		|||
    extraOptions = "experimental-features = nix-command flakes";
 | 
			
		||||
    package = pkgs.nixVersions.unstable;
 | 
			
		||||
  };
 | 
			
		||||
  
 | 
			
		||||
  nixpkgs.config.permittedInsecurePackages = [
 | 
			
		||||
    "qtwebkit-5.212.0-alpha4"
 | 
			
		||||
  ];
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  # Use the systemd-boot EFI boot loader.
 | 
			
		||||
  boot = {
 | 
			
		||||
| 
						 | 
				
			
			@ -95,7 +100,7 @@
 | 
			
		|||
    displayManager = {
 | 
			
		||||
      startx.enable = true;
 | 
			
		||||
      sddm = {
 | 
			
		||||
        enable = false;
 | 
			
		||||
        enable = true;
 | 
			
		||||
      };
 | 
			
		||||
      session = [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			@ -116,10 +121,10 @@
 | 
			
		|||
  };
 | 
			
		||||
  
 | 
			
		||||
  services.greetd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    enable = false;
 | 
			
		||||
    settings = rec {
 | 
			
		||||
      initial_session = {
 | 
			
		||||
        command = "dbus-launch startplasma-wayland";
 | 
			
		||||
        command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
 | 
			
		||||
        user = "chris";
 | 
			
		||||
      };
 | 
			
		||||
      default_session = initial_session;
 | 
			
		||||
| 
						 | 
				
			
			@ -475,6 +480,12 @@
 | 
			
		|||
        org-roam-ui
 | 
			
		||||
        org-present
 | 
			
		||||
        org-modern
 | 
			
		||||
        org-re-reveal
 | 
			
		||||
        org-re-reveal-ref
 | 
			
		||||
        org-re-reveal-citeproc
 | 
			
		||||
        ox-reveal
 | 
			
		||||
        oer-reveal
 | 
			
		||||
        ox-spectacle
 | 
			
		||||
        unicode-fonts
 | 
			
		||||
        emojify
 | 
			
		||||
        undo-tree
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,6 +10,11 @@
 | 
			
		|||
    extraOptions = "experimental-features = nix-command flakes";
 | 
			
		||||
    package = pkgs.nixVersions.unstable;
 | 
			
		||||
  };
 | 
			
		||||
  
 | 
			
		||||
  nixpkgs.config.permittedInsecurePackages = [
 | 
			
		||||
    "qtwebkit-5.212.0-alpha4"
 | 
			
		||||
  ];
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  # Use the systemd-boot EFI boot loader.
 | 
			
		||||
  boot.kernelPackages = pkgs.linuxPackages_zen;
 | 
			
		||||
| 
						 | 
				
			
			@ -88,7 +93,7 @@
 | 
			
		|||
    displayManager = {
 | 
			
		||||
      startx.enable = true;
 | 
			
		||||
      sddm = {
 | 
			
		||||
        enable = false;
 | 
			
		||||
        enable = true;
 | 
			
		||||
      };
 | 
			
		||||
      session = [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			@ -109,10 +114,10 @@
 | 
			
		|||
  };
 | 
			
		||||
  
 | 
			
		||||
  services.greetd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    enable = false;
 | 
			
		||||
    settings = rec {
 | 
			
		||||
      initial_session = {
 | 
			
		||||
        command = "dbus-launch startplasma-wayland";
 | 
			
		||||
        command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
 | 
			
		||||
        user = "chris";
 | 
			
		||||
      };
 | 
			
		||||
      default_session = initial_session;
 | 
			
		||||
| 
						 | 
				
			
			@ -461,6 +466,12 @@
 | 
			
		|||
        org-roam-ui
 | 
			
		||||
        org-present
 | 
			
		||||
        org-modern
 | 
			
		||||
        org-re-reveal
 | 
			
		||||
        org-re-reveal-ref
 | 
			
		||||
        org-re-reveal-citeproc
 | 
			
		||||
        ox-reveal
 | 
			
		||||
        oer-reveal
 | 
			
		||||
        ox-spectacle
 | 
			
		||||
        unicode-fonts
 | 
			
		||||
        emojify
 | 
			
		||||
        undo-tree
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue